Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
b2a1da0
1
Parent(s):
7de01ed
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,11 @@ import requests
|
|
4 |
from io import BytesIO
|
5 |
from diffusers import StableDiffusionPipeline
|
6 |
from diffusers import DDIMScheduler
|
7 |
-
|
8 |
|
9 |
def greet(name):
|
10 |
-
return "Hello " + name + "!!"
|
|
|
11 |
|
12 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
13 |
iface.launch()
|
|
|
4 |
from io import BytesIO
|
5 |
from diffusers import StableDiffusionPipeline
|
6 |
from diffusers import DDIMScheduler
|
7 |
+
from .utils import hi
|
8 |
|
9 |
def greet(name):
|
10 |
+
# return "Hello " + name + "!!"
|
11 |
+
return hi() +""+ name
|
12 |
|
13 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
14 |
iface.launch()
|