Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ st.title("Chat with Hugging Face Model")
|
|
| 7 |
st.write("This chatbot is powered by a model hosted on Hugging Face Hub.")
|
| 8 |
|
| 9 |
# Note: You need to set HF_TOKEN as environment variable
|
| 10 |
-
if not os.getenv('
|
| 11 |
st.error("Please set the HF_TOKEN environment variable")
|
| 12 |
st.stop()
|
| 13 |
|
|
|
|
| 7 |
st.write("This chatbot is powered by a model hosted on Hugging Face Hub.")
|
| 8 |
|
| 9 |
# Note: You need to set HF_TOKEN as environment variable
|
| 10 |
+
if not os.getenv('HF_TOKEN2'):
|
| 11 |
st.error("Please set the HF_TOKEN environment variable")
|
| 12 |
st.stop()
|
| 13 |
|