samim2024 commited on
Commit
9d09fd6
·
verified ·
1 Parent(s): 8604ad2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import streamlit as st
2
  import os
3
  import zipfile
@@ -65,7 +67,16 @@ with st.sidebar:
65
 
66
  # Main app
67
  def main():
68
- st.title("RAG Q&A App with Mistral AI")
 
 
 
 
 
 
 
 
 
69
 
70
  if not st.session_state.authenticated:
71
  st.warning("Please authenticate with your API key in the sidebar.")
@@ -168,3 +179,4 @@ def answer_question(vectorstore, query):
168
 
169
  if __name__ == "__main__":
170
  main()
 
 
1
+ ```
2
+ # app.py
3
  import streamlit as st
4
  import os
5
  import zipfile
 
67
 
68
  # Main app
69
  def main():
70
+ # Inject CSS to set gray background
71
+ st.markdown("""
72
+ <style>
73
+ .stApp {
74
+ background-color: #808080;
75
+ }
76
+ </style>
77
+ """, unsafe_allow_html=True)
78
+
79
+ st.title("BSNL Rourkela Generative AI RAG Q&A App with Mistral AI")
80
 
81
  if not st.session_state.authenticated:
82
  st.warning("Please authenticate with your API key in the sidebar.")
 
179
 
180
  if __name__ == "__main__":
181
  main()
182
+