Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ def main():
|
|
190 |
|
191 |
# Get HF token from secrets or user input
|
192 |
if not st.session_state['hf_token']:
|
193 |
-
st.session_state['hf_token'] =
|
194 |
|
195 |
if not st.session_state['hf_token']:
|
196 |
hf_token = st.text_input("Enter your Hugging Face API token:", type="password")
|
|
|
190 |
|
191 |
# Get HF token from secrets or user input
|
192 |
if not st.session_state['hf_token']:
|
193 |
+
st.session_state['hf_token'] = HF_KEY
|
194 |
|
195 |
if not st.session_state['hf_token']:
|
196 |
hf_token = st.text_input("Enter your Hugging Face API token:", type="password")
|