Darsala commited on
Commit
d8b7238
·
verified ·
1 Parent(s): 2111299

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ def translate(
45
  early_stopping=True,
46
  )
47
  output = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
48
- print(output)
 
49
  # decode the first (and only) sequence
50
  return output
51
 
 
45
  early_stopping=True,
46
  )
47
  output = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
48
+ print(f"English: {text}")
49
+ print(f"Translated: {output}")
50
  # decode the first (and only) sequence
51
  return output
52