Omnibus commited on
Commit
a7674d3
·
1 Parent(s): 6b25cd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(dictionary[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
 
 
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