LAP-DEV commited on
Commit
ae8920e
·
verified ·
1 Parent(s): cabbcc5

Update modules/translation/translation_base.py

Browse files
modules/translation/translation_base.py CHANGED
@@ -184,7 +184,7 @@ class TranslationBase(ABC):
184
  if re.search(': ',dic['text']) != None:
185
  speaker_id = ((dic['text']).split(":", 1)[0]).strip()
186
  if speaker_id != "":
187
- translated_text = speaker_id + ": " + translated_text
188
 
189
  dic["text"] = translated_text
190
 
 
184
  if re.search(': ',dic['text']) != None:
185
  speaker_id = ((dic['text']).split(":", 1)[0]).strip()
186
  if speaker_id != "":
187
+ translated_text = speaker_id + ":123 " + translated_text
188
 
189
  dic["text"] = translated_text
190