Spaces:
Runtime error
Runtime error
Removing upload-to-dataset from `pause_space.py`, since we now have another script for that.
Browse files- pause_space.py +0 -13
pause_space.py
CHANGED
|
@@ -3,17 +3,4 @@ import os
|
|
| 3 |
|
| 4 |
TOKEN = os.environ.get("DEBUG")
|
| 5 |
API = HfApi(token=TOKEN)
|
| 6 |
-
|
| 7 |
-
RESULTS_DATASET_PATH = f"EnergyStarAI/results_debug"
|
| 8 |
-
|
| 9 |
-
print("Uploading results to Dataset repo at %s" % RESULTS_DATASET_PATH)
|
| 10 |
-
|
| 11 |
-
API.upload_folder(
|
| 12 |
-
folder_path='/data/runs/',
|
| 13 |
-
repo_id=RESULTS_DATASET_PATH,
|
| 14 |
-
repo_type="dataset"
|
| 15 |
-
)
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
API.pause_space("EnergyStarAI/launch-computation-example")
|
|
|
|
| 3 |
|
| 4 |
TOKEN = os.environ.get("DEBUG")
|
| 5 |
API = HfApi(token=TOKEN)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
API.pause_space("EnergyStarAI/launch-computation-example")
|