Spaces:
Runtime error
Runtime error
roopalgarg
commited on
Commit
•
63cf433
1
Parent(s):
433042f
Update app.py
Browse filesremove the need for the HF_TOKENS
app.py
CHANGED
@@ -11,13 +11,11 @@ try:
|
|
11 |
except:
|
12 |
pass
|
13 |
|
14 |
-
auth_token = os.environ.get('HF_TOKEN', None)
|
15 |
-
|
16 |
try:
|
17 |
-
iiw_400 = load_dataset('google/imageinwords', token=
|
18 |
-
docci_test = load_dataset('google/imageinwords', token=
|
19 |
-
locnar_eval = load_dataset('google/imageinwords', token=
|
20 |
-
cm_3600 = load_dataset('google/imageinwords', token=
|
21 |
except Exception as e:
|
22 |
raise ValueError("could you fetch the datasets with error: %s", e)
|
23 |
|
|
|
11 |
except:
|
12 |
pass
|
13 |
|
|
|
|
|
14 |
try:
|
15 |
+
iiw_400 = load_dataset('google/imageinwords', token="", trust_remote_code=True, name="IIW-400")
|
16 |
+
docci_test = load_dataset('google/imageinwords', token="", trust_remote_code=True, name="DOCCI_Test")
|
17 |
+
locnar_eval = load_dataset('google/imageinwords', token="", trust_remote_code=True, name="LocNar_Eval")
|
18 |
+
cm_3600 = load_dataset('google/imageinwords', token="", trust_remote_code=True, name="CM_3600")
|
19 |
except Exception as e:
|
20 |
raise ValueError("could you fetch the datasets with error: %s", e)
|
21 |
|