TiberiuCristianLeon commited on
Commit
17d4a5a
·
verified ·
1 Parent(s): 2096aea

Update src/Translate.py

Browse files
Files changed (1) hide show
  1. src/Translate.py +1 -1
src/Translate.py CHANGED
@@ -87,7 +87,7 @@ class Translators:
87
  # call the pipeline; generation kwargs are forwarded to model.generate
88
  # src_lang (str, optional) — The language of the input.
89
  # tgt_lang (str, optional) — The language of the desired output. Might be required for multilingual models. Will not have any effect for single pair translation models
90
- src_text = ["Check general exterior conditions"]
91
  result = pipe(
92
  src_text,
93
  num_beams=4,
 
87
  # call the pipeline; generation kwargs are forwarded to model.generate
88
  # src_lang (str, optional) — The language of the input.
89
  # tgt_lang (str, optional) — The language of the desired output. Might be required for multilingual models. Will not have any effect for single pair translation models
90
+ src_text = "Check general exterior conditions"
91
  result = pipe(
92
  src_text,
93
  num_beams=4,