crossroderick commited on
Commit
be0f011
·
1 Parent(s): 70c30c6

Changed the do_sample parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def transliterate(text: str) -> str:
14
  return ""
15
 
16
  input_text = f"Cyrillic2Latin: {text.strip()}"
17
- output = model(input_text, max_length = 128)[0]["generated_text"]
18
 
19
  return output.strip()
20
 
 
14
  return ""
15
 
16
  input_text = f"Cyrillic2Latin: {text.strip()}"
17
+ output = model(input_text, max_length = 128, do_sample = False)[0]["generated_text"]
18
 
19
  return output.strip()
20