Spaces:
Runtime error
Runtime error
Update InitialMarkups.py
Browse files- InitialMarkups.py +1 -0
InitialMarkups.py
CHANGED
|
@@ -2447,6 +2447,7 @@ def extract_section_under_header_tobebilledMultiplePDFSmarthe(multiplePDF_Paths)
|
|
| 2447 |
parsed_url = urlparse(pdf_path)
|
| 2448 |
filename = os.path.basename(parsed_url.path)
|
| 2449 |
filename = unquote(filename) # decode URL-encoded characters
|
|
|
|
| 2450 |
filenames.append(filename)
|
| 2451 |
# Optimized URL handling
|
| 2452 |
if pdf_path and ('http' in pdf_path or 'dropbox' in pdf_path):
|
|
|
|
| 2447 |
parsed_url = urlparse(pdf_path)
|
| 2448 |
filename = os.path.basename(parsed_url.path)
|
| 2449 |
filename = unquote(filename) # decode URL-encoded characters
|
| 2450 |
+
print(filename)
|
| 2451 |
filenames.append(filename)
|
| 2452 |
# Optimized URL handling
|
| 2453 |
if pdf_path and ('http' in pdf_path or 'dropbox' in pdf_path):
|