ldhldh commited on
Commit
9eb39ef
1 Parent(s): 29d683c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,9 +47,9 @@ def chat(x):
47
  result = gradio_client.predict(
48
  x,# str representing input in 'User input' Textbox component
49
  0.92, # float, representing input in 'Top-p (nucleus sampling)' Slider component
50
- 30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
51
- 0.82, # float, representing input in 'Temperature' Slider component
52
- 18, # int, representing input in 'Max New Tokens' Slider component
53
  1.08, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )
 
47
  result = gradio_client.predict(
48
  x,# str representing input in 'User input' Textbox component
49
  0.92, # float, representing input in 'Top-p (nucleus sampling)' Slider component
50
+ 40, # int, representing input in 'Top-k (nucleus sampling)' Slider component
51
+ 0.85, # float, representing input in 'Temperature' Slider component
52
+ 20, # int, representing input in 'Max New Tokens' Slider component
53
  1.08, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )