Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,10 @@ with gr.Blocks(
|
|
32 |
|
33 |
# Voice chat block
|
34 |
with gr.Blocks() as voice:
|
|
|
35 |
with gr.Row():
|
36 |
audio_input = gr.Audio(label="Voice Chat (BETA)", sources="microphone", type="filepath", waveform_options=False)
|
37 |
-
output = gr.Audio(label="
|
38 |
audio_input.change( fn=respond, inputs=[audio_input], outputs=[output], queue=False)
|
39 |
|
40 |
with gr.Blocks() as image:
|
|
|
32 |
|
33 |
# Voice chat block
|
34 |
with gr.Blocks() as voice:
|
35 |
+
gr.Markdown("Sometimes, it takes because of long queue")
|
36 |
with gr.Row():
|
37 |
audio_input = gr.Audio(label="Voice Chat (BETA)", sources="microphone", type="filepath", waveform_options=False)
|
38 |
+
output = gr.Audio(label="OUTPUT", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
39 |
audio_input.change( fn=respond, inputs=[audio_input], outputs=[output], queue=False)
|
40 |
|
41 |
with gr.Blocks() as image:
|