Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,11 +27,11 @@ def query2(fetch_url,offset=0,length=10):
|
|
27 |
return dictionary
|
28 |
|
29 |
def find_fn(inp,out_json):
|
30 |
-
print(out_json['rows'])
|
31 |
-
print (inp)
|
32 |
img_list=[]
|
33 |
-
|
34 |
-
for rows in
|
35 |
img_ea = rows['row']['image']['src']
|
36 |
img_list.append(img_ea)
|
37 |
|
|
|
27 |
return dictionary
|
28 |
|
29 |
def find_fn(inp,out_json):
|
30 |
+
#print(out_json['rows'])
|
31 |
+
#print (inp)
|
32 |
img_list=[]
|
33 |
+
out_json1=query2("",offset=10,length=20)
|
34 |
+
for rows in out_json1['rows']:
|
35 |
img_ea = rows['row']['image']['src']
|
36 |
img_list.append(img_ea)
|
37 |
|