Spaces:
Running
on
Zero
Running
on
Zero
Helw150
commited on
Commit
•
52385ae
1
Parent(s):
cb5e29e
Slightly Cleaner Was A Lie
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ with gr.Blocks(theme=theme, js=js) as demo:
|
|
173 |
response, [state, input_audio], [state, chatbot]
|
174 |
)
|
175 |
restart = respond.then(start_recording_user, [state], [input_audio]).then(
|
176 |
-
lambda:
|
177 |
)
|
178 |
|
179 |
cancel = gr.Button("Restart Conversation", variant="stop")
|
|
|
173 |
response, [state, input_audio], [state, chatbot]
|
174 |
)
|
175 |
restart = respond.then(start_recording_user, [state], [input_audio]).then(
|
176 |
+
lambda state: state, state, state, js=js_reset
|
177 |
)
|
178 |
|
179 |
cancel = gr.Button("Restart Conversation", variant="stop")
|