Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,13 +8,13 @@ from streamlit.components.v1 import html
|
|
8 |
import pandas as pd
|
9 |
|
10 |
# Retrieve the token from environment variables
|
11 |
-
hf_token = os.environ.get("HF_TOKEN")
|
12 |
-
if not hf_token:
|
13 |
-
st.error("Hugging Face token not found. Please set the HF_TOKEN environment variable.")
|
14 |
-
st.stop()
|
15 |
|
16 |
# Login with the token
|
17 |
-
login(token=
|
18 |
|
19 |
# Initialize session state for timer and results
|
20 |
if 'result' not in st.session_state:
|
|
|
8 |
import pandas as pd
|
9 |
|
10 |
# Retrieve the token from environment variables
|
11 |
+
#hf_token = os.environ.get("HF_TOKEN")
|
12 |
+
#if not hf_token:
|
13 |
+
#st.error("Hugging Face token not found. Please set the HF_TOKEN environment variable.")
|
14 |
+
#st.stop()
|
15 |
|
16 |
# Login with the token
|
17 |
+
login(token=HF_TOKEN)
|
18 |
|
19 |
# Initialize session state for timer and results
|
20 |
if 'result' not in st.session_state:
|