Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
84 |
-
|
85 |
api_key = st.secrets["inference_api_key"]
|
86 |
|
87 |
-
user_question = st.text_input("Ask a
|
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)
|