longvnhue1 commited on
Commit
8abb8a3
·
1 Parent(s): 578e7c4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def translate_text(req: TranslateRequest):
97
 
98
  translation = tokenizer.decode(generated_tokens[0], skip_special_tokens=True)
99
  translated_chunks.append(translation)
100
-
101
  print("Total generating time:", total_gen_time)
102
  full_translation = "\n".join(translated_chunks)
103
 
 
97
 
98
  translation = tokenizer.decode(generated_tokens[0], skip_special_tokens=True)
99
  translated_chunks.append(translation)
100
+ print(f"Translated chunk: {translation}")
101
  print("Total generating time:", total_gen_time)
102
  full_translation = "\n".join(translated_chunks)
103