Sage
commited on
Commit
•
115cf1f
1
Parent(s):
6c58343
first commit
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ def detect_document(content):
|
|
185 |
document_object = result.document
|
186 |
|
187 |
name = content.name.split('\\')[-1]
|
188 |
-
name = name.split(
|
189 |
name = name.split('.')[0]
|
190 |
|
191 |
return(document_object.text, name)
|
|
|
185 |
document_object = result.document
|
186 |
|
187 |
name = content.name.split('\\')[-1]
|
188 |
+
name = name.split("/")[-1]
|
189 |
name = name.split('.')[0]
|
190 |
|
191 |
return(document_object.text, name)
|