Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,17 +118,19 @@ custom_css = """
|
|
| 118 |
with gr.Blocks(css=custom_css,fill_width=True) as demo:
|
| 119 |
gr.Markdown("""
|
| 120 |
# Iβm Shalini βΊοΈ #
|
| 121 |
-
This
|
| 122 |
-
|
|
|
|
| 123 |
|
| 124 |
How to use:
|
| 125 |
|
| 126 |
-
1.Select the chapter from the dropdown menu π
|
| 127 |
-
2.Type your question in the chat box π¬
|
| 128 |
-
3.Receive answers generated using RAG from the document content β‘
|
| 129 |
|
| 130 |
Powered by LangChain π οΈ, Qdrant ποΈ, and LLaMA π§ for fast, accurate, and context-aware responses.
|
| 131 |
-
""",elem_id="welcome_markdown")
|
|
|
|
| 132 |
|
| 133 |
chapter_dir={"Broken Images":"Dataset/Drama/Broken_images.pdf",
|
| 134 |
"Blood":"Dataset/Poems/Blood.pdf",
|
|
|
|
| 118 |
with gr.Blocks(css=custom_css,fill_width=True) as demo:
|
| 119 |
gr.Markdown("""
|
| 120 |
# Iβm Shalini βΊοΈ #
|
| 121 |
+
This chatbot uses a Retrieval-Augmented Generation (RAG) pipeline.
|
| 122 |
+
It is built for the English textbook *Kaleidoscope* π.
|
| 123 |
+
You can ask questions, and it will retrieve relevant answers from the selected chapter π.
|
| 124 |
|
| 125 |
How to use:
|
| 126 |
|
| 127 |
+
1. Select the chapter from the dropdown menu π
|
| 128 |
+
2. Type your question in the chat box π¬
|
| 129 |
+
3. Receive answers generated using RAG from the document content β‘
|
| 130 |
|
| 131 |
Powered by LangChain π οΈ, Qdrant ποΈ, and LLaMA π§ for fast, accurate, and context-aware responses.
|
| 132 |
+
""", elem_id="welcome_markdown")
|
| 133 |
+
|
| 134 |
|
| 135 |
chapter_dir={"Broken Images":"Dataset/Drama/Broken_images.pdf",
|
| 136 |
"Blood":"Dataset/Poems/Blood.pdf",
|