ankanghosh commited on
Commit
40b71eb
·
verified ·
1 Parent(s): 9f32ca4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import streamlit as st
2
- from rag_engine import process_query, load_model
3
- from utils import setup_all_auth
4
 
5
- # Page configuration
6
  st.set_page_config(page_title="Indian Spiritual RAG")
7
 
 
 
 
 
8
  # Display title
9
  st.title("Indian Spiritual Texts Q&A")
10
 
 
1
  import streamlit as st
 
 
2
 
3
+ # FIRST: Set page config before ANY other Streamlit command
4
  st.set_page_config(page_title="Indian Spiritual RAG")
5
 
6
+ # THEN: Import your modules
7
+ from rag_engine import process_query, load_model
8
+ from utils import setup_all_auth
9
+
10
  # Display title
11
  st.title("Indian Spiritual Texts Q&A")
12