Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
tonyassi/image-to-image-SDXL
LeviathAnjelo
/
image-to-image-SDXL
like
0
Runtime error
App
Files
Files
Community
LeviathAnjelo
commited on
Feb 19
Commit
ba5fb9d
•
1 Parent(s):
ae7a3d4
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-2
app.py
CHANGED
Viewed
@@ -1,4 +1,7 @@
1
-
import
os
2
3
4
-
exec(os
.
environ.get
(
'CODE'
)
)
1
+
import
gradio as gr
2
3
+
def greet(name):
4
+
return "Hello " + name + "!!"
5
6
+
iface = gr
.
Interface
(
fn=greet, inputs="text", outputs="text"
)
7
+
iface.launch()