Update modules/translation/translation_base.py
Browse files
modules/translation/translation_base.py
CHANGED
@@ -183,7 +183,6 @@ class TranslationBase(ABC):
|
|
183 |
progress(index / total_progress, desc="Translating..")
|
184 |
|
185 |
# Add speaker ID to translated sentence when diarization is enabled
|
186 |
-
print("translate:"+dic['text'])
|
187 |
if speaker_diarization:
|
188 |
translated_text = ((dic['text']).split(":", 1)[0]).strip() + ": " + self.translate(((dic['text']).split(":", 1)[1]).strip(), max_length=max_length)
|
189 |
else:
|
|
|
183 |
progress(index / total_progress, desc="Translating..")
|
184 |
|
185 |
# Add speaker ID to translated sentence when diarization is enabled
|
|
|
186 |
if speaker_diarization:
|
187 |
translated_text = ((dic['text']).split(":", 1)[0]).strip() + ": " + self.translate(((dic['text']).split(":", 1)[1]).strip(), max_length=max_length)
|
188 |
else:
|