Update app.py
Browse files
app.py
CHANGED
|
@@ -577,12 +577,10 @@ class GEOSEOApp:
|
|
| 577 |
tmp_file.write(uploaded_file.read())
|
| 578 |
return tmp_file.name
|
| 579 |
|
| 580 |
-
|
| 581 |
-
|
| 582 |
def main():
|
| 583 |
"""Main entry point"""
|
| 584 |
if "rag_chain" not in st.session_state:
|
| 585 |
-
|
| 586 |
|
| 587 |
app = GEOSEOApp()
|
| 588 |
app.run()
|
|
|
|
| 577 |
tmp_file.write(uploaded_file.read())
|
| 578 |
return tmp_file.name
|
| 579 |
|
|
|
|
|
|
|
| 580 |
def main():
|
| 581 |
"""Main entry point"""
|
| 582 |
if "rag_chain" not in st.session_state:
|
| 583 |
+
st.session_state.rag_chain = None
|
| 584 |
|
| 585 |
app = GEOSEOApp()
|
| 586 |
app.run()
|