Spaces:
Running
Running
jhj0517
commited on
Commit
·
73c7628
1
Parent(s):
3295d56
fix ext
Browse files- modules/deepl_api.py +1 -1
modules/deepl_api.py
CHANGED
|
@@ -160,7 +160,7 @@ class DeepLAPI:
|
|
| 160 |
timestamp = datetime.now().strftime("%m%d%H%M%S")
|
| 161 |
|
| 162 |
file_name = file_name[:-9]
|
| 163 |
-
output_path = os.path.join("outputs", "translations", f"{file_name}-{timestamp}.
|
| 164 |
|
| 165 |
write_file(subtitle, output_path)
|
| 166 |
|
|
|
|
| 160 |
timestamp = datetime.now().strftime("%m%d%H%M%S")
|
| 161 |
|
| 162 |
file_name = file_name[:-9]
|
| 163 |
+
output_path = os.path.join("outputs", "translations", f"{file_name}-{timestamp}.vtt")
|
| 164 |
|
| 165 |
write_file(subtitle, output_path)
|
| 166 |
|