Huzaifa367 commited on
Commit
42260f8
·
verified ·
1 Parent(s): f3fc9b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -79,12 +79,14 @@ def user_input(user_question, api_key):
79
  text_to_speech(text)
80
 
81
  def main():
 
 
82
  st.set_page_config("Chat PDF")
83
- st.header("Chat with PDF")
84
-
85
  api_key = st.secrets["inference_api_key"]
86
 
87
- user_question = st.text_input("Ask a Question from the PDF Files")
88
 
89
  if user_question:
90
  user_input(user_question, api_key)
 
79
  text_to_speech(text)
80
 
81
  def main():
82
+
83
+ st.set_page_config(layout="centered")
84
  st.set_page_config("Chat PDF")
85
+ st.header("Chat with DOCS")
86
+ st.markdown("<h1 style='font-size:24px;'>ChatBot by Muhammad Huzaifa</h1>", unsafe_allow_html=True)
87
  api_key = st.secrets["inference_api_key"]
88
 
89
+ user_question = st.text_input("Ask a question from the Docs")
90
 
91
  if user_question:
92
  user_input(user_question, api_key)