Spaces:
Runtime error
Runtime error
SumayyaAli
commited on
Commit
•
111eae5
1
Parent(s):
fdb0a03
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import base64
|
|
10 |
from huggingface_hub import HfApi
|
11 |
|
12 |
api = HfApi()
|
13 |
-
token = api.
|
14 |
|
15 |
#load_dotenv()
|
16 |
#token = os.environ.get("HF_TOKEN")
|
|
|
10 |
from huggingface_hub import HfApi
|
11 |
|
12 |
api = HfApi()
|
13 |
+
token = api.retrieve_token("secret_token") # Replace with your secret name
|
14 |
|
15 |
#load_dotenv()
|
16 |
#token = os.environ.get("HF_TOKEN")
|