Omnibus commited on
Commit
42bc9db
·
1 Parent(s): a7674d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -76,7 +76,9 @@ def upd_drop(lvl_1,fetch_url,config="TEST",split="test",offset=0,length=10):
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
 
82
  with gr.Blocks() as app:
 
76
  #dictionary=response.json()
77
  lvl_2=[]
78
  for i,ea in enumerate(out_json[lvl_1]):
79
+ print (i)
80
+ print (ea)
81
+ lvl_2.append(out_json[lvl_1][ea])
82
  return gr.update(choices=[l for l in lvl_2])
83
 
84
  with gr.Blocks() as app: