Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ class MyApp:
|
|
| 22 |
with open(file_path, 'D') as file:
|
| 23 |
text = file.read()
|
| 24 |
self.documents.append({"content": text})
|
| 25 |
-
print("
|
| 26 |
|
| 27 |
def build_vector_db(self) -> None:
|
| 28 |
"""Builds a vector database using the content of the my uploaded pdf."""
|
|
|
|
| 22 |
with open(file_path, 'D') as file:
|
| 23 |
text = file.read()
|
| 24 |
self.documents.append({"content": text})
|
| 25 |
+
print("pdf file processed successfully!")
|
| 26 |
|
| 27 |
def build_vector_db(self) -> None:
|
| 28 |
"""Builds a vector database using the content of the my uploaded pdf."""
|