Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -444,7 +444,13 @@ def merge_loop():
|
|
444 |
create_pod(model_name, USERNAME)
|
445 |
# print(f"Total size: {human_readable_size(get_size(dir_path))}")
|
446 |
|
447 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
# Install scrape-open-llm-leaderboard and mergekit
|
449 |
command = ["git", "clone", "-q", "https://github.com/Weyaxi/scrape-open-llm-leaderboard"]
|
450 |
subprocess.run(command, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
|
|
444 |
create_pod(model_name, USERNAME)
|
445 |
# print(f"Total size: {human_readable_size(get_size(dir_path))}")
|
446 |
|
447 |
+
|
448 |
+
# Set the HF_DATASETS_CACHE environment variable
|
449 |
+
os.environ['HF_DATASETS_CACHE'] = "/data/hfcache/"
|
450 |
+
|
451 |
+
# Verify the environment variable is set
|
452 |
+
print(os.environ['HF_DATASETS_CACHE'])
|
453 |
+
|
454 |
# Install scrape-open-llm-leaderboard and mergekit
|
455 |
command = ["git", "clone", "-q", "https://github.com/Weyaxi/scrape-open-llm-leaderboard"]
|
456 |
subprocess.run(command, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|