YC-Chen commited on
Commit
c8f3309
1 Parent(s): 429e239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ with gr.Blocks() as demo:
118
  "model": MODEL_NAME,
119
  "prompt": str(message),
120
  "temperature": float(temperature),
121
- "n": int(top_k),
122
  "max_tokens": int(max_new_tokens),
123
  "stop": "",
124
  "top_p": float(top_p),
 
118
  "model": MODEL_NAME,
119
  "prompt": str(message),
120
  "temperature": float(temperature),
121
+ "n": 1,
122
  "max_tokens": int(max_new_tokens),
123
  "stop": "",
124
  "top_p": float(top_p),