Omnibus commited on
Commit
b7ddb79
·
1 Parent(s): 4075e13

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,val in enumerate(out_json[f"{inp}"]):
49
  #img_ea = ea['row']['image']['src']
50
+ img_list.append(val)
51
 
52
  return img_list
53
  with gr.Blocks() as app: