ja-818 commited on
Commit
2b40f8e
·
1 Parent(s): 3953375

Fixed bug of gr.Audio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", type="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")
 
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")