artificialguybr commited on
Commit
ac0fdba
·
1 Parent(s): 0bc447a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def process_video(Video, target_language):
86
  translated_text = translator.translate(line.strip(), dest=target_language_code).text
87
  translated_lines.append(translated_text + "\n")
88
  else:
89
- translated_lines.append("\n"))
90
 
91
  # Move the file pointer to the beginning of the file and truncate it.
92
  f.seek(0)
 
86
  translated_text = translator.translate(line.strip(), dest=target_language_code).text
87
  translated_lines.append(translated_text + "\n")
88
  else:
89
+ translated_lines.append("\n")
90
 
91
  # Move the file pointer to the beginning of the file and truncate it.
92
  f.seek(0)