Dorjzodovsuren commited on
Commit
81ab59b
·
verified ·
1 Parent(s): f7a4003

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- speakers_input = gr.Number(value=1, label="Number of Speakers")
151
- duration_input = gr.Number(value=120, label="Maximum Duration (Seconds)")
 
 
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 ----