Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
@@ -3,7 +3,6 @@ import os
|
|
3 |
# Create the cache directory if it doesn't exist and set permissions
|
4 |
hf_cache_dir = '/app/hf_cache'
|
5 |
os.makedirs(hf_cache_dir, exist_ok=True)
|
6 |
-
os.chmod(hf_cache_dir, 0o777)
|
7 |
|
8 |
# Set the HF_HOME environment variable
|
9 |
os.environ['HF_HOME'] = hf_cache_dir
|
|
|
3 |
# Create the cache directory if it doesn't exist and set permissions
|
4 |
hf_cache_dir = '/app/hf_cache'
|
5 |
os.makedirs(hf_cache_dir, exist_ok=True)
|
|
|
6 |
|
7 |
# Set the HF_HOME environment variable
|
8 |
os.environ['HF_HOME'] = hf_cache_dir
|