Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,11 @@ subprocess.run(
|
|
12 |
)
|
13 |
|
14 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
15 |
import os
|
16 |
import sys
|
17 |
sys.path.append(os.curdir)
|
|
|
12 |
)
|
13 |
|
14 |
if __name__ == "__main__":
|
15 |
+
import os
|
16 |
+
from huggingface_hub import login
|
17 |
+
hf_token = os.environ.get("HF_TOKEN")
|
18 |
+
login(token=hf_token)
|
19 |
+
|
20 |
import os
|
21 |
import sys
|
22 |
sys.path.append(os.curdir)
|