Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,9 @@ def find_fn(lvl_1,lvl_2,fetch_url,config="TEST",split="test",offset=0,length=10)
|
|
42 |
#print (inp)
|
43 |
img_list=[]
|
44 |
out_json=query2(fetch_url,config,split,offset=10,length=20)
|
45 |
-
|
46 |
-
|
|
|
47 |
print(inp)
|
48 |
if lvl_2 != "":
|
49 |
for ea in out_json[f"{lvl_1}"]:
|
|
|
42 |
#print (inp)
|
43 |
img_list=[]
|
44 |
out_json=query2(fetch_url,config,split,offset=10,length=20)
|
45 |
+
lvl_1=lvl_1.strip("[]")
|
46 |
+
|
47 |
+
lvl_2=lvl_2.strip("[]")
|
48 |
print(inp)
|
49 |
if lvl_2 != "":
|
50 |
for ea in out_json[f"{lvl_1}"]:
|