AbstractPhil commited on
Commit
0d5344f
·
verified ·
1 Parent(s): 95569eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -272,10 +272,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
272
  )
273
 
274
  # Handle chat
275
- def respond(message, chat_history, model_version, temperature, top_k, top_p):
276
  if not chat_history:
277
  chat_history = []
278
- response = beeper_reply(message, chat_history, model_version, temperature, top_k, top_p, max_new_tokens_slider)
279
  chat_history.append([message, response])
280
  return "", chat_history
281
 
 
272
  )
273
 
274
  # Handle chat
275
+ def respond(message, chat_history, model_version, temperature, top_k, top_p, max_new_tokens):
276
  if not chat_history:
277
  chat_history = []
278
+ response = beeper_reply(message, chat_history, model_version, temperature, top_k, top_p, max_new_tokens)
279
  chat_history.append([message, response])
280
  return "", chat_history
281