Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def upload_pdf(file):
|
|
100 |
|
101 |
global collection
|
102 |
|
103 |
-
file_name =
|
104 |
|
105 |
loader = PDFMinerLoader(file_name)
|
106 |
doc = loader.load()
|
|
|
100 |
|
101 |
global collection
|
102 |
|
103 |
+
file_name = file.name
|
104 |
|
105 |
loader = PDFMinerLoader(file_name)
|
106 |
doc = loader.load()
|