Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ import os
|
|
19 |
from huggingface_hub import login
|
20 |
|
21 |
# Read the secret from environment variables
|
22 |
-
hf_token = os.environ.get(hugface) # Replace HF_TOKEN with the name of your secret in HF settings
|
23 |
|
24 |
# Login using the token
|
25 |
login(token=hf_token)
|
|
|
19 |
from huggingface_hub import login
|
20 |
|
21 |
# Read the secret from environment variables
|
22 |
+
hf_token = os.environ.get("hugface") # Replace HF_TOKEN with the name of your secret in HF settings
|
23 |
|
24 |
# Login using the token
|
25 |
login(token=hf_token)
|