Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -287,12 +287,7 @@ def demo():
|
|
287 |
gr.Markdown(
|
288 |
"""<center><h2>PDF-based chatbot</center></h2>
|
289 |
<h3>Ask any questions about your PDF documents</h3>""")
|
290 |
-
|
291 |
-
"""<b>Note:</b> This AI assistant, using Langchain and open-source LLMs, performs retrieval-augmented generation (RAG) from your PDF documents. \
|
292 |
-
The user interface explicitely shows multiple steps to help understand the RAG workflow.
|
293 |
-
This chatbot takes past questions into account when generating answers (via conversational memory), and includes document references for clarity purposes.<br>
|
294 |
-
<br><b>Warning:</b> This space uses the free CPU Basic hardware from Hugging Face. Some steps and LLM models used below (free inference endpoints) can take some time to generate a reply.
|
295 |
-
""")
|
296 |
|
297 |
with gr.Tab("Step 1 - Upload PDF"):
|
298 |
with gr.Row():
|
|
|
287 |
gr.Markdown(
|
288 |
"""<center><h2>PDF-based chatbot</center></h2>
|
289 |
<h3>Ask any questions about your PDF documents</h3>""")
|
290 |
+
|
|
|
|
|
|
|
|
|
|
|
291 |
|
292 |
with gr.Tab("Step 1 - Upload PDF"):
|
293 |
with gr.Row():
|