fixed deprecated call
Browse files- playground.py +1 -1
playground.py
CHANGED
@@ -125,7 +125,7 @@ def generated_text_from_state(state):
|
|
125 |
|
126 |
|
127 |
def instrument_col(default_inst, col_id):
|
128 |
-
inst_label = gr.
|
129 |
with gr.Column(scale=1, min_width=100):
|
130 |
track_md = gr.Markdown(f"""## TRACK {col_id+1}""")
|
131 |
inst = gr.Dropdown(
|
|
|
125 |
|
126 |
|
127 |
def instrument_col(default_inst, col_id):
|
128 |
+
inst_label = gr.State(col_id)
|
129 |
with gr.Column(scale=1, min_width=100):
|
130 |
track_md = gr.Markdown(f"""## TRACK {col_id+1}""")
|
131 |
inst = gr.Dropdown(
|