Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ additional_inputs = [
|
|
73 |
gr.Number(precision=0, value=42, label="Seed", info="A starting point to initiate generation, use 0 for random")
|
74 |
]
|
75 |
|
76 |
-
chat_interface = gr.
|
77 |
fn=generate_response,
|
78 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
79 |
additional_inputs=additional_inputs,
|
@@ -94,8 +94,8 @@ def process_video_interface():
|
|
94 |
process_button.click(process_video_callback)
|
95 |
|
96 |
return gr.Interface(
|
97 |
-
fn=
|
98 |
-
inputs=[text_input],
|
99 |
outputs=video_output,
|
100 |
title="Video Processing",
|
101 |
description="Select a video file from 'videos' folder, add text, and process.",
|
|
|
73 |
gr.Number(precision=0, value=42, label="Seed", info="A starting point to initiate generation, use 0 for random")
|
74 |
]
|
75 |
|
76 |
+
chat_interface = gr.Interface(
|
77 |
fn=generate_response,
|
78 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
79 |
additional_inputs=additional_inputs,
|
|
|
94 |
process_button.click(process_video_callback)
|
95 |
|
96 |
return gr.Interface(
|
97 |
+
fn=None,
|
98 |
+
inputs=[text_input, process_button],
|
99 |
outputs=video_output,
|
100 |
title="Video Processing",
|
101 |
description="Select a video file from 'videos' folder, add text, and process.",
|