Spaces:
Paused
Paused
Update app.py
Browse files
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',
|