Update app.py
Browse files
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',
|
| 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'):
|