skytnt commited on
Commit
f88cef7
1 Parent(s): 573d12d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -232,11 +232,10 @@ if __name__ == "__main__":
232
  "(https://colab.research.google.com/github/SkyTNT/midi-model/blob/main/demo.ipynb)"
233
  " for faster running and longer generation"
234
  )
235
-
 
236
  tab_select = gr.Variable(value=0)
237
  with gr.Tabs():
238
- input_model = gr.Dropdown(label="select model", choices=list(models.keys()),
239
- type="value", value=list(models.keys())[0])
240
  with gr.TabItem("instrument prompt") as tab1:
241
  input_instruments = gr.Dropdown(label="instruments (auto if empty)", choices=list(patch2number.keys()),
242
  multiselect=True, max_choices=15, type="value")
 
232
  "(https://colab.research.google.com/github/SkyTNT/midi-model/blob/main/demo.ipynb)"
233
  " for faster running and longer generation"
234
  )
235
+ input_model = gr.Dropdown(label="select model", choices=list(models.keys()),
236
+ type="value", value=list(models.keys())[0])
237
  tab_select = gr.Variable(value=0)
238
  with gr.Tabs():
 
 
239
  with gr.TabItem("instrument prompt") as tab1:
240
  input_instruments = gr.Dropdown(label="instruments (auto if empty)", choices=list(patch2number.keys()),
241
  multiselect=True, max_choices=15, type="value")