wannaphong commited on
Commit
9943267
·
verified ·
1 Parent(s): f0f09e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -33,7 +33,6 @@ def respond(
33
  stream=True,
34
  temperature=temperature,
35
  top_p=top_p,
36
- top_k=20,
37
  repetition_penalty=1.1,
38
  ):
39
  token = message.choices[0].delta.content
@@ -54,7 +53,7 @@ demo = gr.ChatInterface(
54
  gr.Slider(
55
  minimum=0.1,
56
  maximum=1.0,
57
- value=0.8,
58
  step=0.05,
59
  label="Top-p (nucleus sampling)",
60
  ),
 
33
  stream=True,
34
  temperature=temperature,
35
  top_p=top_p,
 
36
  repetition_penalty=1.1,
37
  ):
38
  token = message.choices[0].delta.content
 
53
  gr.Slider(
54
  minimum=0.1,
55
  maximum=1.0,
56
+ value=0.80,
57
  step=0.05,
58
  label="Top-p (nucleus sampling)",
59
  ),