sango07 commited on
Commit
b75186d
·
verified ·
1 Parent(s): c34a261

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -8,6 +8,13 @@ from langchain_core.messages import AIMessage, HumanMessage
8
  from langchain_core.prompts import PromptTemplate
9
  from langchain_community.callbacks import get_openai_callback
10
 
 
 
 
 
 
 
 
11
  # Custom CSS for enhanced styling
12
  def local_css():
13
  st.markdown("""
@@ -110,13 +117,6 @@ def main():
110
  # Apply custom CSS
111
  local_css()
112
 
113
- # Set page configuration
114
- st.set_page_config(
115
- page_title="PostgreSQL Query Assistant",
116
- page_icon="🤖",
117
- layout="wide"
118
- )
119
-
120
  # Main container
121
  with st.container():
122
  # Header
 
8
  from langchain_core.prompts import PromptTemplate
9
  from langchain_community.callbacks import get_openai_callback
10
 
11
+ # Set page configuration at the very beginning
12
+ st.set_page_config(
13
+ page_title="PostgreSQL Query Assistant",
14
+ page_icon="🤖",
15
+ layout="wide"
16
+ )
17
+
18
  # Custom CSS for enhanced styling
19
  def local_css():
20
  st.markdown("""
 
117
  # Apply custom CSS
118
  local_css()
119
 
 
 
 
 
 
 
 
120
  # Main container
121
  with st.container():
122
  # Header