Podtekatel commited on
Commit
efd8ae7
1 Parent(s): 20428be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def load_model():
25
  global pipeline_old
26
 
27
  # Old model
28
- model_path = hf_hub_download(REPO_ID, FILENAME_OLD), use_auth_token=os.getenv('HF_TOKEN')
29
  model_old = ONNXModel(model_path)
30
 
31
  pipeline_old = VSNetModelPipeline(model_old, StatRetinaFaceDetector(MODEL_IMG_SIZE), background_resize=1024, no_detected_resize=1024)
 
25
  global pipeline_old
26
 
27
  # Old model
28
+ model_path = hf_hub_download(REPO_ID, FILENAME_OLD, use_auth_token=os.getenv('HF_TOKEN'))
29
  model_old = ONNXModel(model_path)
30
 
31
  pipeline_old = VSNetModelPipeline(model_old, StatRetinaFaceDetector(MODEL_IMG_SIZE), background_resize=1024, no_detected_resize=1024)