Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
9cf5061
1
Parent(s):
3738456
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ with gr.Blocks() as demo:
|
|
101 |
with gr.Column():
|
102 |
transcript = gr.Chatbot(label="transcript", type="messages")
|
103 |
|
104 |
-
audio.stream(ReplyOnPause(transcribe), inputs=[audio, transformers_convo, transcript], outputs=[audio])
|
105 |
audio.on_additional_outputs(lambda s,a: (s,a), outputs=[transformers_convo, transcript])
|
106 |
|
107 |
if __name__ == "__main__":
|
|
|
101 |
with gr.Column():
|
102 |
transcript = gr.Chatbot(label="transcript", type="messages")
|
103 |
|
104 |
+
audio.stream(ReplyOnPause(transcribe), inputs=[audio, transformers_convo, transcript], outputs=[audio], time_limit=90)
|
105 |
audio.on_additional_outputs(lambda s,a: (s,a), outputs=[transformers_convo, transcript])
|
106 |
|
107 |
if __name__ == "__main__":
|