Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -294,13 +294,13 @@ def demo():
|
|
294 |
collection_name = gr.State()
|
295 |
|
296 |
gr.Markdown(
|
297 |
-
"""<center><h2>PDF-based chatbot</center></h2>
|
298 |
<h3>Ask any questions about your PDF documents</h3>""")
|
299 |
gr.Markdown(
|
300 |
-
"""<b>Note:</b> This AI assistant, using Langchain and
|
301 |
The user interface explicitely shows multiple steps to help understand the RAG workflow.
|
302 |
This chatbot takes past questions into account when generating answers (via conversational memory), and includes document references for clarity purposes.<br>
|
303 |
-
<br><b>Warning:</b> This space uses the free CPU Basic hardware from Hugging Face. Some steps
|
304 |
""")
|
305 |
|
306 |
with gr.Tab("Step 1 - Upload PDF"):
|
|
|
294 |
collection_name = gr.State()
|
295 |
|
296 |
gr.Markdown(
|
297 |
+
"""<center><h2>Vertex AI PDF-based chatbot</center></h2>
|
298 |
<h3>Ask any questions about your PDF documents</h3>""")
|
299 |
gr.Markdown(
|
300 |
+
"""<b>Note:</b> This AI assistant, using Langchain and Vertex AI, performs retrieval-augmented generation (RAG) from your PDF documents. \
|
301 |
The user interface explicitely shows multiple steps to help understand the RAG workflow.
|
302 |
This chatbot takes past questions into account when generating answers (via conversational memory), and includes document references for clarity purposes.<br>
|
303 |
+
<br><b>Warning:</b> This space uses the free CPU Basic hardware from Hugging Face. Some steps can take some time to generate a reply.
|
304 |
""")
|
305 |
|
306 |
with gr.Tab("Step 1 - Upload PDF"):
|