ldhldh commited on
Commit
f4c4a1c
Β·
1 Parent(s): 7ab815b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -54,9 +54,9 @@ def chat(x):
54
  x,# str representing input in 'User input' Textbox component
55
  0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
56
  50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
57
- 0.8, # float, representing input in 'Temperature' Slider component
58
- 22, # int, representing input in 'Max New Tokens' Slider component
59
- 1.1, # float, representing input in 'repetition_penalty' Slider component
60
  fn_index=0
61
  )
62
  result = cut(x, result)
 
54
  x,# str representing input in 'User input' Textbox component
55
  0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
56
  50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
57
+ 0.7, # float, representing input in 'Temperature' Slider component
58
+ 20, # int, representing input in 'Max New Tokens' Slider component
59
+ 1.2, # float, representing input in 'repetition_penalty' Slider component
60
  fn_index=0
61
  )
62
  result = cut(x, result)