Spaces:
Sleeping
Sleeping
Commit
·
c2780e1
1
Parent(s):
81f421b
fix pushing data on huggingface dataset without login!
Browse files
app.py
CHANGED
|
@@ -139,7 +139,7 @@ def main():
|
|
| 139 |
"user_id": time.time(),
|
| 140 |
"answer": {i: answer[i] for i in range(len(answer))}}
|
| 141 |
|
| 142 |
-
# use api to push the results to the hub
|
| 143 |
api.push_to_hub(info_to_push, json_file_results, use_temp_dir=True)
|
| 144 |
|
| 145 |
|
|
|
|
| 139 |
"user_id": time.time(),
|
| 140 |
"answer": {i: answer[i] for i in range(len(answer))}}
|
| 141 |
|
| 142 |
+
# use api to push the results to the hub
|
| 143 |
api.push_to_hub(info_to_push, json_file_results, use_temp_dir=True)
|
| 144 |
|
| 145 |
|