Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks() as demo:
|
|
114 |
continue
|
115 |
if query is not None: # put others as done
|
116 |
message['metadata']['status'] = 'done'
|
117 |
-
elif message['content'] ==
|
118 |
assistant_waiting_message = message
|
119 |
|
120 |
for (start_timestamp, stop_timestamp), response, state in gradio_backend(message=query, state=state, mode=mode, hf_spaces=hf_spaces):
|
|
|
114 |
continue
|
115 |
if query is not None: # put others as done
|
116 |
message['metadata']['status'] = 'done'
|
117 |
+
elif message['content'] == '(Loading video now... thanks for waiting...)':
|
118 |
assistant_waiting_message = message
|
119 |
|
120 |
for (start_timestamp, stop_timestamp), response, state in gradio_backend(message=query, state=state, mode=mode, hf_spaces=hf_spaces):
|