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