Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ data = query1()
|
|
9 |
print (data)
|
10 |
|
11 |
|
12 |
-
API_URL2 = "https://datasets-server.huggingface.co/rows?dataset=nlphuji/flickr30k&config=default&split=
|
13 |
def query2():
|
14 |
response = requests.get(API_URL2)
|
15 |
return response.json()
|
|
|
9 |
print (data)
|
10 |
|
11 |
|
12 |
+
API_URL2 = "https://datasets-server.huggingface.co/rows?dataset=nlphuji/flickr30k&config=default&split=test&offset=150&length=10"
|
13 |
def query2():
|
14 |
response = requests.get(API_URL2)
|
15 |
return response.json()
|