Spaces:
Sleeping
Sleeping
Commit ·
b73c898
1
Parent(s): a6f609a
Fixed HF_REPO_ID + Added force_download=True + Enhanced status messages
Browse files- converters/converter.py +0 -2
converters/converter.py
CHANGED
|
@@ -26,8 +26,6 @@ def process_uploaded_file(file, file_type):
|
|
| 26 |
shutil.copy(source_path, file_path)
|
| 27 |
else:
|
| 28 |
file_path = source_path
|
| 29 |
-
|
| 30 |
-
# Get original file size
|
| 31 |
original_size_bytes = os.path.getsize(file_path)
|
| 32 |
original_size_mb = original_size_bytes / (1024 * 1024)
|
| 33 |
|
|
|
|
| 26 |
shutil.copy(source_path, file_path)
|
| 27 |
else:
|
| 28 |
file_path = source_path
|
|
|
|
|
|
|
| 29 |
original_size_bytes = os.path.getsize(file_path)
|
| 30 |
original_size_mb = original_size_bytes / (1024 * 1024)
|
| 31 |
|