TiberiuCristianLeon commited on
Commit
842fd9e
·
verified ·
1 Parent(s): 62f15cd

Update src/Translate.py

Browse files
Files changed (1) hide show
  1. src/Translate.py +1 -1
src/Translate.py CHANGED
@@ -83,7 +83,7 @@ class Translators:
83
  # "translation" task was used, instead of "translation_XX_to_YY", defaulting to "translation_en_to_ro"
84
 
85
  # call the pipeline; generation kwargs are forwarded to model.generate
86
- src_text = "This is a test sentence."
87
  result = pipe(
88
  src_text,
89
  num_beams=4,
 
83
  # "translation" task was used, instead of "translation_XX_to_YY", defaulting to "translation_en_to_ro"
84
 
85
  # call the pipeline; generation kwargs are forwarded to model.generate
86
+ src_text = "Check general exterior condition."
87
  result = pipe(
88
  src_text,
89
  num_beams=4,