Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,10 @@ from Functions import diffusion
|
|
| 5 |
#https://huggingface.co/spaces/Omnibus/Functions/raw/main/timedate.py
|
| 6 |
#print (timedate.timename())
|
| 7 |
def run():
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
with gr.Blocks() as app:
|
| 10 |
-
out=gr.
|
| 11 |
app.load(run,None,out)
|
| 12 |
app.launch()
|
|
|
|
| 5 |
#https://huggingface.co/spaces/Omnibus/Functions/raw/main/timedate.py
|
| 6 |
#print (timedate.timename())
|
| 7 |
def run():
|
| 8 |
+
out = diffusion.gen_image("cat")
|
| 9 |
+
print(out)
|
| 10 |
+
return out
|
| 11 |
with gr.Blocks() as app:
|
| 12 |
+
out=gr.Image()
|
| 13 |
app.load(run,None,out)
|
| 14 |
app.launch()
|