Spaces:
Sleeping
Sleeping
Commit
·
ea0753b
1
Parent(s):
dba7867
mini fix
Browse files
app.py
CHANGED
@@ -17,11 +17,8 @@ st.markdown(
|
|
17 |
# -------------------------------
|
18 |
# Retrieve HF Token from secrets or user input
|
19 |
# -------------------------------
|
20 |
-
|
21 |
-
|
22 |
-
st.sidebar.info("Using token from secrets.")
|
23 |
-
else:
|
24 |
-
hf_token = st.sidebar.text_input("Enter your Hugging Face API Token", type="password")
|
25 |
|
26 |
# -------------------------------
|
27 |
# Login if token is provided
|
|
|
17 |
# -------------------------------
|
18 |
# Retrieve HF Token from secrets or user input
|
19 |
# -------------------------------
|
20 |
+
|
21 |
+
hf_token = st.sidebar.text_input("Enter your Hugging Face API Token", type="password")
|
|
|
|
|
|
|
22 |
|
23 |
# -------------------------------
|
24 |
# Login if token is provided
|