Update app.py
Browse files
app.py
CHANGED
|
@@ -767,11 +767,10 @@ with gr.Blocks(css="footer {display:none !important}") as demo:
|
|
| 767 |
list(MODELS.keys())[0],
|
| 768 |
],
|
| 769 |
],
|
| 770 |
-
|
| 771 |
-
|
| 772 |
-
|
| 773 |
-
|
| 774 |
-
cache_examples="lazy",
|
| 775 |
)
|
| 776 |
|
| 777 |
with gr.Row():
|
|
|
|
| 767 |
list(MODELS.keys())[0],
|
| 768 |
],
|
| 769 |
],
|
| 770 |
+
inputs=[user_files, user_prompt, top_p, temperature, model_choice],
|
| 771 |
+
outputs=[generated_command, generated_video],
|
| 772 |
+
fn=update, # Required to cache examples
|
| 773 |
+
cache_examples=False, # Set to True if you want to pre-process
|
|
|
|
| 774 |
)
|
| 775 |
|
| 776 |
with gr.Row():
|