HoneyTian commited on
Commit
efb9bdb
1 Parent(s): 9e84c1b
Files changed (1) hide show
  1. main.py +6 -6
main.py CHANGED
@@ -99,12 +99,6 @@ def main():
99
  with gr.Blocks() as blocks:
100
  gr.Markdown(value=title)
101
 
102
- language_radio.change(
103
- update_model_dropdown,
104
- inputs=language_radio,
105
- outputs=model_dropdown,
106
- )
107
-
108
  with gr.Tabs():
109
  with gr.TabItem("Upload from disk"):
110
  uploaded_file = gr.Audio(
@@ -130,6 +124,12 @@ def main():
130
  fn=process_uploaded_file,
131
  )
132
 
 
 
 
 
 
 
133
  blocks.queue().launch()
134
 
135
  return
 
99
  with gr.Blocks() as blocks:
100
  gr.Markdown(value=title)
101
 
 
 
 
 
 
 
102
  with gr.Tabs():
103
  with gr.TabItem("Upload from disk"):
104
  uploaded_file = gr.Audio(
 
124
  fn=process_uploaded_file,
125
  )
126
 
127
+ language_radio.change(
128
+ update_model_dropdown,
129
+ inputs=language_radio,
130
+ outputs=model_dropdown,
131
+ )
132
+
133
  blocks.queue().launch()
134
 
135
  return