Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,12 @@ with gr.Blocks() as demo:
|
|
50 |
|
51 |
with gr.Row():
|
52 |
with gr.Column():
|
|
|
53 |
audio_input = gr.Audio(
|
54 |
-
|
55 |
-
elem_id="audio-upload"
|
56 |
)
|
|
|
|
|
57 |
model_dropdown = gr.Dropdown(
|
58 |
choices=list(models.keys()),
|
59 |
label="Select Model",
|
|
|
50 |
|
51 |
with gr.Row():
|
52 |
with gr.Column():
|
53 |
+
# Audio upload or record
|
54 |
audio_input = gr.Audio(
|
55 |
+
type="filepath", label="Upload Audio File"
|
|
|
56 |
)
|
57 |
+
record_button = gr.Microphone(source="microphone", label="Record Audio")
|
58 |
+
|
59 |
model_dropdown = gr.Dropdown(
|
60 |
choices=list(models.keys()),
|
61 |
label="Select Model",
|