Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from gradio_client import Client
|
3 |
import uuid
|
4 |
|
5 |
MORE = """ ## TRY Other Models
|
@@ -19,7 +19,8 @@ def generate_image(prompt, base="Realistic", motion="", step=8, progress=gr.Prog
|
|
19 |
step=step,
|
20 |
api_name="/generate_image_1"
|
21 |
)
|
22 |
-
|
|
|
23 |
|
24 |
# Gradio Interface
|
25 |
with gr.Blocks(css="style.css") as demo:
|
|
|
1 |
import gradio as gr
|
2 |
+
from gradio_client import Client
|
3 |
import uuid
|
4 |
|
5 |
MORE = """ ## TRY Other Models
|
|
|
19 |
step=step,
|
20 |
api_name="/generate_image_1"
|
21 |
)
|
22 |
+
video_path = result["video"]
|
23 |
+
return video_path
|
24 |
|
25 |
# Gradio Interface
|
26 |
with gr.Blocks(css="style.css") as demo:
|