Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,9 @@ def find_fn(inp,fetch_url,config="TEST",split="test",offset=0,length=10):
|
|
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)
|
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[f"{inp}"])
|
51 |
|
52 |
return img_list
|
53 |
with gr.Blocks() as app:
|