Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -302,11 +302,13 @@ def main():
|
|
| 302 |
# Define the interface inputs
|
| 303 |
inputs = [
|
| 304 |
gr.Textbox(label="Prompt", value="a woman"),
|
| 305 |
-
gr.
|
| 306 |
-
gr.
|
|
|
|
|
|
|
| 307 |
gr.Slider(minimum=0.1, maximum=20, step=0.1, label="Guidance Scale", value=6.0),
|
| 308 |
gr.Slider(minimum=1, maximum=129, step=1, label="Number of Frames", value=77),
|
| 309 |
-
gr.Slider(minimum=1, maximum=100, step=1, label="Number of Inference Steps", value=
|
| 310 |
]
|
| 311 |
|
| 312 |
# Define the interface outputs
|
|
|
|
| 302 |
# Define the interface inputs
|
| 303 |
inputs = [
|
| 304 |
gr.Textbox(label="Prompt", value="a woman"),
|
| 305 |
+
gr.Image(label="Frame 1", type="pil"),
|
| 306 |
+
gr.Image(label="Frame 2", type="pil"),
|
| 307 |
+
# gr.Textbox(label="Frame 1 URL", value="https://i-bacon.bunkr.ru/11b45aa7-630b-4189-996f-a6b37a697786.png"),
|
| 308 |
+
# gr.Textbox(label="Frame 2 URL", value="https://i-bacon.bunkr.ru/2382224f-120e-482d-a75d-f1a1bf13038c.png"),
|
| 309 |
gr.Slider(minimum=0.1, maximum=20, step=0.1, label="Guidance Scale", value=6.0),
|
| 310 |
gr.Slider(minimum=1, maximum=129, step=1, label="Number of Frames", value=77),
|
| 311 |
+
gr.Slider(minimum=1, maximum=100, step=1, label="Number of Inference Steps", value=20)
|
| 312 |
]
|
| 313 |
|
| 314 |
# Define the interface outputs
|