Omnibus commited on
Commit
2e5bf79
·
1 Parent(s): fab2bcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,9 +45,9 @@ def find_fn(inp,out_json):
45
 
46
  inp=inp.strip("[]")
47
  print(inp)
48
- for ea in out_json[f"{inp}"]:
49
  #img_ea = ea['row']['image']['src']
50
- img_list.append(ea)
51
 
52
  return img_list
53
  with gr.Blocks() as app:
 
45
 
46
  inp=inp.strip("[]")
47
  print(inp)
48
+ for ea in out_json:
49
  #img_ea = ea['row']['image']['src']
50
+ img_list.append(ea[inp])
51
 
52
  return img_list
53
  with gr.Blocks() as app: