Spaces:
Running
Running
app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ st.title("Text GenAI Model")
|
|
10 |
st.subheader("Answer Random Questions Using Hugging Face Models")
|
11 |
|
12 |
# Fetch Hugging Face token from Streamlit Secrets
|
13 |
-
HF_TOKEN =
|
14 |
access_token_read = st.secrets[HF_TOKEN] # Ensure this is set in your Streamlit Cloud Secrets
|
15 |
|
16 |
# Free up GPU memory (if using GPU)
|
|
|
10 |
st.subheader("Answer Random Questions Using Hugging Face Models")
|
11 |
|
12 |
# Fetch Hugging Face token from Streamlit Secrets
|
13 |
+
HF_TOKEN = secret.HF_TOKEN
|
14 |
access_token_read = st.secrets[HF_TOKEN] # Ensure this is set in your Streamlit Cloud Secrets
|
15 |
|
16 |
# Free up GPU memory (if using GPU)
|