Spaces:
Runtime error
Runtime error
updated pdf path
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ def chat(file, question):
|
|
| 126 |
return chunks
|
| 127 |
|
| 128 |
|
| 129 |
-
pdf_path =
|
| 130 |
|
| 131 |
|
| 132 |
reader = PdfReader(pdf_path)
|
|
|
|
| 126 |
return chunks
|
| 127 |
|
| 128 |
|
| 129 |
+
pdf_path = file
|
| 130 |
|
| 131 |
|
| 132 |
reader = PdfReader(pdf_path)
|