Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def parse_gpt_response(content):
|
|
134 |
|
135 |
# Gradio function to integrate everything into an interactive interface
|
136 |
def gradio_rag(question):
|
137 |
-
pdf_path = "/home/farquasar/norms_pacing.pdf"
|
138 |
text_data = extract_text_from_pdf(pdf_path)
|
139 |
chunks = chunk_text(text_data)
|
140 |
index, chunk_list = create_faiss_index(chunks)
|
|
|
134 |
|
135 |
# Gradio function to integrate everything into an interactive interface
|
136 |
def gradio_rag(question):
|
137 |
+
pdf_path = "/home/farquasar/askdoctor/norms_pacing.pdf"
|
138 |
text_data = extract_text_from_pdf(pdf_path)
|
139 |
chunks = chunk_text(text_data)
|
140 |
index, chunk_list = create_faiss_index(chunks)
|