chenjoya commited on
Commit
e70daa2
·
verified ·
1 Parent(s): cc236f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(query=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:
 
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: