Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
awacke1
/
GradioImageBackground
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
awacke1
commited on
Oct 15, 2023
Commit
65e8835
·
1 Parent(s):
2bd6833
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr
2
+
3
+
css_code='body{background-image:url("https://picsum.photos/seed/picsum/200/300");}'
4
+
5
+
gr.Interface(lambda x:x, "textbox", "textbox", css=css_code).launch(debug=True)