Spaces:
Runtime error
Runtime error
Fixed bug of gr.Audio
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks() as demo:
|
|
29 |
# Record audio input and output fields
|
30 |
with gr.Tab("Record audio"):
|
31 |
with gr.Row():
|
32 |
-
record_input = gr.Audio(label="Audio recording",
|
33 |
with gr.Column():
|
34 |
record_output_1 = gr.Textbox(label="Text from the audio")
|
35 |
record_output_2 = gr.Textbox(label="Speech emotion")
|
|
|
29 |
# Record audio input and output fields
|
30 |
with gr.Tab("Record audio"):
|
31 |
with gr.Row():
|
32 |
+
record_input = gr.Audio(label="Audio recording", source="microphone")
|
33 |
with gr.Column():
|
34 |
record_output_1 = gr.Textbox(label="Text from the audio")
|
35 |
record_output_2 = gr.Textbox(label="Speech emotion")
|