Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import requests
|
2 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
3 |
-
API_URL1 = "https://datasets-server.huggingface.co/splits?dataset=nlphuji/flickr30k"
|
4 |
def query1():
|
5 |
response = requests.get(API_URL1, headers=headers)
|
6 |
return response.json()
|
|
|
1 |
import requests
|
2 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
3 |
+
API_URL1 = "https://datasets-server.huggingface.co/splits?dataset=nlphuji/flickr30k"
|
4 |
def query1():
|
5 |
response = requests.get(API_URL1, headers=headers)
|
6 |
return response.json()
|