ldhldh commited on
Commit
25775c4
1 Parent(s): d51e091

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,9 +50,9 @@ def chat(x):
50
  result = gradio_client.predict(
51
  x,
52
  # str representing input in 'User input' Textbox component
53
- 0.9, # float, representing input in 'Top-p (nucleus sampling)' Slider component
54
  40, # int, representing input in 'Top-k (nucleus sampling)' Slider component
55
- 0.65, # float, representing input in 'Temperature' Slider component
56
  30, # int, representing input in 'Max New Tokens' Slider component
57
  1.2, # float, representing input in 'repetition_penalty' Slider component
58
  fn_index=0
 
50
  result = gradio_client.predict(
51
  x,
52
  # str representing input in 'User input' Textbox component
53
+ 0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
54
  40, # int, representing input in 'Top-k (nucleus sampling)' Slider component
55
+ 0.7, # float, representing input in 'Temperature' Slider component
56
  30, # int, representing input in 'Max New Tokens' Slider component
57
  1.2, # float, representing input in 'repetition_penalty' Slider component
58
  fn_index=0