BICORP commited on
Commit
fd91cce
·
verified ·
1 Parent(s): 0b07d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def respond(message, history: list, model_name, preset_name):
85
  response = tokenizer.decode(output[0], skip_special_tokens=True)
86
  return response.split("AI:")[-1].strip() # Extract the AI's response
87
 
88
- def respond_with_pseudonym(message, history, selected_model, selected preset):
89
  try:
90
  model_id = next(model[0] for model in model_choices if model[1] == selected_model)
91
  except StopIteration:
 
85
  response = tokenizer.decode(output[0], skip_special_tokens=True)
86
  return response.split("AI:")[-1].strip() # Extract the AI's response
87
 
88
+ def respond_with_pseudonym(message, history, selected_model, selected_preset):
89
  try:
90
  model_id = next(model[0] for model in model_choices if model[1] == selected_model)
91
  except StopIteration: