misnaej commited on
Commit
414e1c1
1 Parent(s): 0876ff3

instruments in alphabetic order

Browse files
Files changed (1) hide show
  1. playground.py +1 -1
playground.py CHANGED
@@ -118,7 +118,7 @@ def instrument_row(default_inst, row_id):
118
  row = gr.Variable(row_id)
119
  with gr.Column(scale=1, min_width=50):
120
  inst = gr.Dropdown(
121
- [inst["transfer_to"] for inst in INSTRUMENT_TRANSFER_CLASSES]
122
  + ["Drums"],
123
  value=default_inst,
124
  label="Instrument",
 
118
  row = gr.Variable(row_id)
119
  with gr.Column(scale=1, min_width=50):
120
  inst = gr.Dropdown(
121
+ sorted([inst["transfer_to"] for inst in INSTRUMENT_TRANSFER_CLASSES])
122
  + ["Drums"],
123
  value=default_inst,
124
  label="Instrument",