fffiloni commited on
Commit
fc6dfba
1 Parent(s): 7bcfcfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,9 @@ import tempfile
5
  import huggingface_hub
6
  import subprocess
7
 
 
 
 
8
  huggingface_hub.hf_hub_download(
9
  repo_id='yzd-v/DWPose',
10
  filename='yolox_l.onnx',
 
5
  import huggingface_hub
6
  import subprocess
7
 
8
+ HF_TKN = os.environ.get("GATED_HF_TOKEN")
9
+ huggingface_hub.login(token=HF_TKN)
10
+
11
  huggingface_hub.hf_hub_download(
12
  repo_id='yzd-v/DWPose',
13
  filename='yolox_l.onnx',