Selinaliu1030 commited on
Commit
66ce9ad
·
1 Parent(s): 21a5b29

max_new_token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def respond(
26
 
27
  for message in client.text_generation(
28
  messages,
29
- max_tokens=max_tokens,
30
  stream=True,
31
  temperature=temperature,
32
  top_p=top_p,
 
26
 
27
  for message in client.text_generation(
28
  messages,
29
+ max_new_tokens=max_tokens,
30
  stream=True,
31
  temperature=temperature,
32
  top_p=top_p,