output file fix
Browse files- subtitle_manager.py +1 -0
subtitle_manager.py
CHANGED
@@ -49,6 +49,7 @@ class Subtitle():
|
|
49 |
|
50 |
def write_subtitle(self, segments, output_file, model, progress):
|
51 |
# output_file = output_file.split('.')[0]
|
|
|
52 |
output_file += f".({model})."+self.ext
|
53 |
subtitle = self.get_subtitle(segments,progress)
|
54 |
|
|
|
49 |
|
50 |
def write_subtitle(self, segments, output_file, model, progress):
|
51 |
# output_file = output_file.split('.')[0]
|
52 |
+
model = model.replace("/","_")
|
53 |
output_file += f".({model})."+self.ext
|
54 |
subtitle = self.get_subtitle(segments,progress)
|
55 |
|