Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ prompt_template = """Answer the question only according to the information provi
|
|
15 |
## Question :
|
16 |
# {}"""
|
17 |
|
18 |
-
st.session_state
|
|
|
19 |
if not "stage" in st.session_state:
|
20 |
st.session_state.stage = "crawl-input"
|
21 |
elif st.session_state.stage == "remove-crawl-input-widgets":
|
|
|
15 |
## Question :
|
16 |
# {}"""
|
17 |
|
18 |
+
if not "messages" in st.session_state:
|
19 |
+
st.session_state.messages = []
|
20 |
if not "stage" in st.session_state:
|
21 |
st.session_state.stage = "crawl-input"
|
22 |
elif st.session_state.stage == "remove-crawl-input-widgets":
|