orzhan commited on
Commit
63f0c9c
·
1 Parent(s): 9086af2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,11 +22,11 @@ def infer(input_ids):
22
  num_beams=8,
23
  length_penalty=1.0,
24
  no_repeat_ngram_size=4,
25
- do_sample=True, top_p=0.9, temperature=0.9
26
  )
27
 
28
  return output_sequences
29
- default_value = "Если жрать много мандаринов, дристать будешь дальше чем видишь."
30
 
31
  #prompts
32
  st.title("Демо детоксификации на ruT5")
 
22
  num_beams=8,
23
  length_penalty=1.0,
24
  no_repeat_ngram_size=4,
25
+ # do_sample=True, top_p=0.9, temperature=0.9
26
  )
27
 
28
  return output_sequences
29
+ default_value = "Еще один петух решил легко заработать на донатах."
30
 
31
  #prompts
32
  st.title("Демо детоксификации на ruT5")