DevToolKit / .streamlit /secrets.toml
acecalisto3's picture
Update .streamlit/secrets.toml
0083433 verified
raw
history blame
181 Bytes
import os
# Set environment variable for Hugging Face token
os.environ["huggingface"] = "hf_token"
["huggingface"]
hf_token = st.secrets["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"]