mariusjabami commited on
Commit
1ba65b2
·
verified ·
1 Parent(s): 531f276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
18
 
19
  for chunk in client.text_generation(
20
  messages,
21
- max_tokens=max_tokens,
22
  stream=True,
23
  temperature=temperature,
24
  top_p=top_p,
 
18
 
19
  for chunk in client.text_generation(
20
  messages,
21
+ max_new_tokens=max_tokens,
22
  stream=True,
23
  temperature=temperature,
24
  top_p=top_p,