Spaces:
Running
Running
Amamrnaf
commited on
Commit
·
c38db77
1
Parent(s):
1324e6f
"Added print statement for file extension in process_file function."
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def process_file(file, option):
|
|
122 |
|
123 |
file_path = file.name
|
124 |
file_extension = os.path.splitext(file_path)[1].lower()
|
125 |
-
|
126 |
if file_extension in ['.pdf']:
|
127 |
# Process PDF files
|
128 |
if option == "Noc_timesheet_residential":
|
|
|
122 |
|
123 |
file_path = file.name
|
124 |
file_extension = os.path.splitext(file_path)[1].lower()
|
125 |
+
print(file_extension)
|
126 |
if file_extension in ['.pdf']:
|
127 |
# Process PDF files
|
128 |
if option == "Noc_timesheet_residential":
|