Spaces:
Runtime error
Runtime error
# audio.stream
Browse files
app.py
CHANGED
|
@@ -108,9 +108,9 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 108 |
msg.submit(show_message, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 109 |
**streaming_event_kwargs
|
| 110 |
)
|
| 111 |
-
audio.stream(transcribe, inputs=[audio, chatbot, openai_key], outputs=[chatbot]).then(
|
| 112 |
-
|
| 113 |
-
)
|
| 114 |
|
| 115 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 116 |
|
|
|
|
| 108 |
msg.submit(show_message, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 109 |
**streaming_event_kwargs
|
| 110 |
)
|
| 111 |
+
# audio.stream(transcribe, inputs=[audio, chatbot, openai_key], outputs=[chatbot]).then(
|
| 112 |
+
# **streaming_event_kwargs
|
| 113 |
+
# )
|
| 114 |
|
| 115 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 116 |
|