Tile commited on
Commit
b7b4b6c
1 Parent(s): 562a82d

not displaying video from beginning;

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(), path_to_sub_videos) + (disable_btn,) * 1
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()