Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,10 @@ with gr.Blocks(title="Mongolian Whisper 🇲🇳") as demo:
|
|
147 |
with gr.Column(): # everything in one vertical stack
|
148 |
# ---- inputs ----
|
149 |
audio_input = gr.Audio(type="filepath", label="Audio")
|
150 |
-
|
151 |
-
|
|
|
|
|
152 |
state_input = gr.State() # hidden, but part of the workflow
|
153 |
|
154 |
# ---- outputs ----
|
|
|
147 |
with gr.Column(): # everything in one vertical stack
|
148 |
# ---- inputs ----
|
149 |
audio_input = gr.Audio(type="filepath", label="Audio")
|
150 |
+
|
151 |
+
with gr.Accordion("Advanced options", open=False):
|
152 |
+
speakers_input = gr.Number(value=1, label="Number of Speakers")
|
153 |
+
duration_input = gr.Number(value=120, label="Maximum Duration (Seconds)")
|
154 |
state_input = gr.State() # hidden, but part of the workflow
|
155 |
|
156 |
# ---- outputs ----
|