Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
•
f913a0b
1
Parent(s):
855dfb9
Fixed debug bug
Browse files
app.py
CHANGED
@@ -124,12 +124,11 @@ with gr.Blocks() as demo:
|
|
124 |
|
125 |
audio_input.stop_recording(fn=transcribe_audio, inputs=[audio_input], outputs=[message]).then(
|
126 |
fn=return_none, inputs=None, outputs=[audio_input]
|
|
|
|
|
|
|
|
|
127 |
)
|
128 |
-
# .then(
|
129 |
-
# fn=send_request,
|
130 |
-
# inputs=[code, previous_code, message, chat_history, chat, model_select],
|
131 |
-
# outputs=[chat_history, chat, message, previous_code],
|
132 |
-
# )
|
133 |
|
134 |
chat.change(fn=read_last_message, inputs=[chat], outputs=[audio_output])
|
135 |
|
|
|
124 |
|
125 |
audio_input.stop_recording(fn=transcribe_audio, inputs=[audio_input], outputs=[message]).then(
|
126 |
fn=return_none, inputs=None, outputs=[audio_input]
|
127 |
+
).then(
|
128 |
+
fn=send_request,
|
129 |
+
inputs=[code, previous_code, message, chat_history, chat, model_select],
|
130 |
+
outputs=[chat_history, chat, message, previous_code],
|
131 |
)
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
chat.change(fn=read_last_message, inputs=[chat], outputs=[audio_output])
|
134 |
|