ernestchu commited on
Commit
6e50ee6
1 Parent(s): 34b341d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
97
  with gr.Row():
98
  with gr.Column():
99
  with gr.Tab('From microphone'):
100
- rec_box = gr.Audio(label='Recording', source='microphone', type='filepath')
101
  with gr.Tab('From YouTube'):
102
  yt_url_box = gr.Textbox(label='YouTube URL', placeholder='https://youtu.be/q6EoRBvdVPQ')
103
  with gr.Tab('From file'):
 
97
  with gr.Row():
98
  with gr.Column():
99
  with gr.Tab('From microphone'):
100
+ rec_box = gr.Audio(label='Recording', sources=['microphone'], type='filepath')
101
  with gr.Tab('From YouTube'):
102
  yt_url_box = gr.Textbox(label='YouTube URL', placeholder='https://youtu.be/q6EoRBvdVPQ')
103
  with gr.Tab('From file'):