Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ def load_docs_and_build_index():
|
|
13 |
change_prompts(query_engine)
|
14 |
return query_engine
|
15 |
|
|
|
16 |
|
17 |
# Initialize chat history
|
18 |
if "messages" not in st.session_state:
|
|
|
13 |
change_prompts(query_engine)
|
14 |
return query_engine
|
15 |
|
16 |
+
query_engine = load_docs_and_build_index()
|
17 |
|
18 |
# Initialize chat history
|
19 |
if "messages" not in st.session_state:
|