Spaces:
Runtime error
Runtime error
nitzanguetta
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
# auth_token = os.environ.get("auth_token")
|
7 |
auth_token = os.environ.get("HF_TOKEN")
|
8 |
-
Visual_Riddles = load_dataset("nitzanguetta/Visual_Riddles", token=auth_token, trust_remote_code=True)['test']
|
9 |
# print(f"Loaded WHOOPS!, first example:")
|
10 |
# print(whoops[0])
|
11 |
dataset_size = len(Visual_Riddles)
|
|
|
5 |
|
6 |
# auth_token = os.environ.get("auth_token")
|
7 |
auth_token = os.environ.get("HF_TOKEN")
|
8 |
+
Visual_Riddles = load_dataset("nitzanguetta/Visual_Riddles", token=auth_token, trust_remote_code=True)['test'].shuffle()
|
9 |
# print(f"Loaded WHOOPS!, first example:")
|
10 |
# print(whoops[0])
|
11 |
dataset_size = len(Visual_Riddles)
|