debisoft commited on
Commit
84eda2d
·
1 Parent(s): d7147df

Removed claudette

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -54,10 +54,9 @@ def index():
54
  def send(msg:str, messages:list[str]=None):
55
  if not messages: messages = []
56
  messages.append(msg.rstrip())
57
- r = contents(get_completion_from_messages(messages)) # get response from chat model
58
  return (ChatMessage(msg, True), # The user's message
59
  ChatMessage(r.rstrip(), False), # The chatbot's response
60
  ChatInput()) # And clear the input field via an OOB swap
61
 
62
  serve()
63
-
 
54
  def send(msg:str, messages:list[str]=None):
55
  if not messages: messages = []
56
  messages.append(msg.rstrip())
57
+ r = get_completion_from_messages(messages) # get response from chat model
58
  return (ChatMessage(msg, True), # The user's message
59
  ChatMessage(r.rstrip(), False), # The chatbot's response
60
  ChatInput()) # And clear the input field via an OOB swap
61
 
62
  serve()