supertskone commited on
Commit
9cfc860
·
verified ·
1 Parent(s): 0360c3d

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +0 -1
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