Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
8d9f39e
1
Parent(s):
64fec4b
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
93 |
transcript = gr.Chatbot(label="transcript", type="messages")
|
94 |
|
95 |
audio.stream(ReplyOnPause(transcribe), inputs=[audio, transformers_convo, transcript], outputs=[audio])
|
96 |
-
audio.on_additional_outputs(lambda s: s, outputs=[transformers_convo, transcript])
|
97 |
|
98 |
if __name__ == "__main__":
|
99 |
demo.launch()
|
|
|
93 |
transcript = gr.Chatbot(label="transcript", type="messages")
|
94 |
|
95 |
audio.stream(ReplyOnPause(transcribe), inputs=[audio, transformers_convo, transcript], outputs=[audio])
|
96 |
+
audio.on_additional_outputs(lambda s,a: (s,a), outputs=[transformers_convo, transcript])
|
97 |
|
98 |
if __name__ == "__main__":
|
99 |
demo.launch()
|