Spaces:
Runtime error
Runtime error
Update app.py (#7)
Browse files- Update app.py (63cf433dcd44140ba05ad28d8c5d898669a7e6ed)
Co-authored-by: Roopal Garg <[email protected]>
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 |
|