Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,11 +66,10 @@ def user_input(user_question, api_key):
|
|
66 |
|
67 |
def main():
|
68 |
st.set_page_config(page_title="Chat PDF")
|
69 |
-
st.header("
|
70 |
-
st.subheader("Ask a question ONLY from the CSC 121 textbook of Dr. Reed")
|
71 |
st.markdown("---")
|
72 |
|
73 |
-
user_api_key = st.text_input("Enter your API key
|
74 |
user_question = st.text_input("Ask a question")
|
75 |
|
76 |
if user_question:
|
|
|
66 |
|
67 |
def main():
|
68 |
st.set_page_config(page_title="Chat PDF")
|
69 |
+
st.header("Retrieval-Augmented Generation-Gemini-2.0 Flash")
|
|
|
70 |
st.markdown("---")
|
71 |
|
72 |
+
user_api_key = st.text_input("Enter your API key", type="password")
|
73 |
user_question = st.text_input("Ask a question")
|
74 |
|
75 |
if user_question:
|