Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
12 |
from langchain.schema import Document
|
13 |
print("start2")
|
14 |
|
15 |
-
wheel_file = "llama_cpp_python-0.3.4-cp310-cp310-linux_x86_64.whl"
|
16 |
|
17 |
# Check if already installed to avoid reinstalling
|
18 |
try:
|
@@ -182,9 +181,9 @@ with gr.Blocks(theme=gr.themes.Soft(), title="PDF Chat Assistant") as demo:
|
|
182 |
with gr.Row():
|
183 |
gr.Markdown("""
|
184 |
# π PDF Chat Assistant
|
185 |
-
### Have natural conversations with your documents
|
186 |
""")
|
187 |
-
|
188 |
with gr.Row():
|
189 |
with gr.Column(scale=1, min_width=300):
|
190 |
gr.Markdown("### Document Upload")
|
|
|
12 |
from langchain.schema import Document
|
13 |
print("start2")
|
14 |
|
|
|
15 |
|
16 |
# Check if already installed to avoid reinstalling
|
17 |
try:
|
|
|
181 |
with gr.Row():
|
182 |
gr.Markdown("""
|
183 |
# π PDF Chat Assistant
|
184 |
+
### Have natural conversations with your documents ((Note: This Space runs on CPU, so responses may take a few mins.))
|
185 |
""")
|
186 |
+
(Note: This Space runs on CPU, so responses may take a few mins.)
|
187 |
with gr.Row():
|
188 |
with gr.Column(scale=1, min_width=300):
|
189 |
gr.Markdown("### Document Upload")
|