Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
| 71 |
-
|
| 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
|