Spaces:
Paused
Paused
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +9 -8
src/streamlit_app.py
CHANGED
|
@@ -1,4 +1,13 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import os
|
| 4 |
import sys
|
|
@@ -13,14 +22,6 @@ from enhanced_rag_system import EnhancedRAGSystem
|
|
| 13 |
from auth_system import AuthSystem
|
| 14 |
from document_processor import DocumentProcessor
|
| 15 |
|
| 16 |
-
# Page config
|
| 17 |
-
st.set_page_config(
|
| 18 |
-
page_title="FinSolve AI Assistant",
|
| 19 |
-
page_icon="🤖",
|
| 20 |
-
layout="wide",
|
| 21 |
-
initial_sidebar_state="expanded"
|
| 22 |
-
)
|
| 23 |
-
|
| 24 |
# Enhanced CSS with better styling
|
| 25 |
st.markdown("""
|
| 26 |
<style>
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
|
| 3 |
+
# Page config MUST be the first Streamlit command
|
| 4 |
+
st.set_page_config(
|
| 5 |
+
page_title="FinSolve AI Assistant",
|
| 6 |
+
page_icon="🤖",
|
| 7 |
+
layout="wide",
|
| 8 |
+
initial_sidebar_state="expanded"
|
| 9 |
+
)
|
| 10 |
+
|
| 11 |
import pandas as pd
|
| 12 |
import os
|
| 13 |
import sys
|
|
|
|
| 22 |
from auth_system import AuthSystem
|
| 23 |
from document_processor import DocumentProcessor
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
# Enhanced CSS with better styling
|
| 26 |
st.markdown("""
|
| 27 |
<style>
|