Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ torch.classes.__path__ = []
|
|
12 |
|
13 |
# Use session state to persist the chatbot instance
|
14 |
if "chatbot" not in st.session_state:
|
15 |
-
st.session_state.chatbot = FinancialChatbot(
|
16 |
|
17 |
def fetch_answer_from_backend(query):
|
18 |
"""Calls the backend function to get an answer."""
|
|
|
12 |
|
13 |
# Use session state to persist the chatbot instance
|
14 |
if "chatbot" not in st.session_state:
|
15 |
+
st.session_state.chatbot = FinancialChatbot()
|
16 |
|
17 |
def fetch_answer_from_backend(query):
|
18 |
"""Calls the backend function to get an answer."""
|