Spaces:
Sleeping
Sleeping
nileshhanotia
commited on
Commit
•
7a2d473
1
Parent(s):
8ad732e
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import torch
|
|
7 |
from huggingface_hub import Repository, HfFolder
|
8 |
|
9 |
# Authenticate Hugging Face Hub
|
10 |
-
hf_token = st.secrets["
|
11 |
HfFolder.save_token(hf_token)
|
12 |
|
13 |
@st.cache_data
|
|
|
7 |
from huggingface_hub import Repository, HfFolder
|
8 |
|
9 |
# Authenticate Hugging Face Hub
|
10 |
+
hf_token = st.secrets["HF_TOKEN"] # Store your token in the Hugging Face Space Secrets
|
11 |
HfFolder.save_token(hf_token)
|
12 |
|
13 |
@st.cache_data
|