Omnibus commited on
Commit
142f6f1
1 Parent(s): 26fdf3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -108,14 +108,14 @@ def upd_drop(lvl_1=None,lvl_2=None,lvl_3=None,lvl_4=None,lvl_5=None,fetch_url=""
108
  else:
109
  pass
110
  if lvl_3 !=[]:
111
- for ea in (lvl_src):
112
- box_3.append(ea[lvl_2][lvl_3])
113
  out= gr.update(choices = [m for m in box_3])
114
  else:
115
  pass
116
  if lvl_4 !=[]:
117
- for ea in (lvl_src):
118
- box_4.append(ea[lvl_2][lvl_3][lvl_4])
119
  out= gr.update(choices = [m for m in box_4])
120
  else:
121
  pass
 
108
  else:
109
  pass
110
  if lvl_3 !=[]:
111
+ for ea in (lvl_src[lvl_2][lvl_3]):
112
+ box_3.append(ea)
113
  out= gr.update(choices = [m for m in box_3])
114
  else:
115
  pass
116
  if lvl_4 !=[]:
117
+ for ea in (lvl_src[lvl_2][lvl_3][lvl_4]):
118
+ box_4.append(ea)
119
  out= gr.update(choices = [m for m in box_4])
120
  else:
121
  pass