Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ with gr.Blocks() as demo:
|
|
| 116 |
elif message['content'] == GradioBackend.waiting_video_response:
|
| 117 |
assistant_waiting_message = message
|
| 118 |
|
| 119 |
-
for (start_timestamp, stop_timestamp), response, state in gradio_backend(
|
| 120 |
if start_timestamp >= 0:
|
| 121 |
response_with_timestamp = f'{start_timestamp:.1f}s-{stop_timestamp:.1f}s: {response}'
|
| 122 |
if assistant_waiting_message is None:
|
|
|
|
| 116 |
elif message['content'] == GradioBackend.waiting_video_response:
|
| 117 |
assistant_waiting_message = message
|
| 118 |
|
| 119 |
+
for (start_timestamp, stop_timestamp), response, state in gradio_backend(message=query, state=state, mode=mode, hf_spaces=hf_spaces):
|
| 120 |
if start_timestamp >= 0:
|
| 121 |
response_with_timestamp = f'{start_timestamp:.1f}s-{stop_timestamp:.1f}s: {response}'
|
| 122 |
if assistant_waiting_message is None:
|