Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
# Access your Hugging Face token (stored as a secret in the environment)
|
5 |
-
hf_token = st.secrets["
|
6 |
|
7 |
# Initialize the Hugging Face Inference Client with the token
|
8 |
client = InferenceClient(token=hf_token)
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
# Access your Hugging Face token (stored as a secret in the environment)
|
5 |
+
hf_token = st.secrets["Hf_Token"]
|
6 |
|
7 |
# Initialize the Hugging Face Inference Client with the token
|
8 |
client = InferenceClient(token=hf_token)
|