Spaces:
Sleeping
Sleeping
not displaying video from beginning;
Browse files
app.py
CHANGED
@@ -278,7 +278,7 @@ def http_bot(
|
|
278 |
# print(f"state.messages is {state.messages[-1][-1]}")
|
279 |
state.messages[-1][-1] = state.messages[-1][-1][:-1] + output + "▌"
|
280 |
path_to_sub_videos = state.get_path_to_subvideos()
|
281 |
-
yield (state, state.to_gradio_chatbot(),
|
282 |
time.sleep(0.03)
|
283 |
# else:
|
284 |
# raise requests.exceptions.RequestException()
|
|
|
278 |
# print(f"state.messages is {state.messages[-1][-1]}")
|
279 |
state.messages[-1][-1] = state.messages[-1][-1][:-1] + output + "▌"
|
280 |
path_to_sub_videos = state.get_path_to_subvideos()
|
281 |
+
yield (state, state.to_gradio_chatbot(), None) + (disable_btn,) * 1
|
282 |
time.sleep(0.03)
|
283 |
# else:
|
284 |
# raise requests.exceptions.RequestException()
|