PierreHanna commited on
Commit
fccb33a
Β·
1 Parent(s): 627a23d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,9 +14,9 @@ os.environ['CUDA_VISIBLE_DEVICES'] = '-1'
14
  os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
15
 
16
  # Cacher le nom du repo
17
- #python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
18
- # use_auth_token=os.environ['TOKEN'])
19
- #print(python_path)
20
  #sys.path.append(os.environ['PRIVATE_DIR'])
21
  from models import *
22
  preprocess_model, model = get_models()
 
14
  os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
15
 
16
  # Cacher le nom du repo
17
+ python_path = hf_hub_download(repo_id=os.environ['REPO_ID'], repo_type="space", filename=os.environ['MODEL_FILE'],
18
+ use_auth_token=os.environ['TOKEN'])
19
+ print(python_path)
20
  #sys.path.append(os.environ['PRIVATE_DIR'])
21
  from models import *
22
  preprocess_model, model = get_models()