chenjoya commited on
Commit
e025dfb
·
verified ·
1 Parent(s): ea6b60b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -67,9 +67,8 @@ with gr.Blocks() as demo:
67
  yield '(finished initialization, responding...)', state
68
  if mode != 'Conversation':
69
  yield 'waiting video input...', state
70
- response, _ = gradio_backend(query=message, state=state, mode=mode)
71
- # yield response, {}
72
- return response, state
73
 
74
  def gr_chatinterface_chatbot_clear_fn():
75
  return {}, {}, 0, 0
 
67
  yield '(finished initialization, responding...)', state
68
  if mode != 'Conversation':
69
  yield 'waiting video input...', state
70
+ response, state = gradio_backend(query=message, state=state, mode=mode)
71
+ yield response, state
 
72
 
73
  def gr_chatinterface_chatbot_clear_fn():
74
  return {}, {}, 0, 0