Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def upd_drop(lvl_1,fetch_url,config="TEST",split="test",offset=0,length=10):
|
|
73 |
out_json=query2(fetch_url,config,split,offset=10,length=20)
|
74 |
lvl_2=[]
|
75 |
for ea in out_json[lvl_1]:
|
76 |
-
lvl_2.append(out_json[lvl_1][ea])
|
77 |
return gr.update(choices=[l for l in lvl_2])
|
78 |
|
79 |
with gr.Blocks() as app:
|
|
|
73 |
out_json=query2(fetch_url,config,split,offset=10,length=20)
|
74 |
lvl_2=[]
|
75 |
for ea in out_json[lvl_1]:
|
76 |
+
lvl_2.append(out_json[f'{lvl_1}'][f'{ea}'])
|
77 |
return gr.update(choices=[l for l in lvl_2])
|
78 |
|
79 |
with gr.Blocks() as app:
|