Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ if prompt := st.chat_input("Ask me anything!"):
|
|
44 |
st.error("Please enter your Hugging Face Access Token")
|
45 |
st.stop()
|
46 |
|
47 |
-
|
48 |
app = App.from_config(config = config)
|
49 |
app.add("https://en.wikipedia.org/wiki/Indian_Premier_League")
|
50 |
|
|
|
44 |
st.error("Please enter your Hugging Face Access Token")
|
45 |
st.stop()
|
46 |
|
47 |
+
os.environ["HUGGINGFACE_ACCESS_TOKEN"] = st.session_state.chatbot_api_key
|
48 |
app = App.from_config(config = config)
|
49 |
app.add("https://en.wikipedia.org/wiki/Indian_Premier_League")
|
50 |
|