Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def upd_drop(lvl_1,fetch_url,config="TEST",split="test",offset=0,length=10):
|
|
75 |
#response = requests.get(API_URL2)
|
76 |
#dictionary=response.json()
|
77 |
lvl_2=[]
|
78 |
-
for i,ea in enumerate(
|
79 |
lvl_2.append(out_json[f'{lvl_1}'][f'{ea}'])
|
80 |
return gr.update(choices=[l for l in lvl_2])
|
81 |
|
|
|
75 |
#response = requests.get(API_URL2)
|
76 |
#dictionary=response.json()
|
77 |
lvl_2=[]
|
78 |
+
for i,ea in enumerate(out_json[lvl_1]):
|
79 |
lvl_2.append(out_json[f'{lvl_1}'][f'{ea}'])
|
80 |
return gr.update(choices=[l for l in lvl_2])
|
81 |
|