Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,7 @@ def retry(edited_prompt, video_in, chosen_model):
|
|
198 |
return audio_result, final_res
|
199 |
|
200 |
def refresh():
|
201 |
-
return gr.update(value=
|
202 |
|
203 |
css="""
|
204 |
#col-container{
|
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
|
|
244 |
cache_examples=False
|
245 |
)
|
246 |
|
247 |
-
video_in.
|
248 |
fn = refresh,
|
249 |
inputs = None,
|
250 |
outputs = [caption_o, retry_btn],
|
|
|
198 |
return audio_result, final_res
|
199 |
|
200 |
def refresh():
|
201 |
+
return gr.update(value=None, interactive=False), gr.update(visible=False)
|
202 |
|
203 |
css="""
|
204 |
#col-container{
|
|
|
244 |
cache_examples=False
|
245 |
)
|
246 |
|
247 |
+
video_in.upload(
|
248 |
fn = refresh,
|
249 |
inputs = None,
|
250 |
outputs = [caption_o, retry_btn],
|