Spaces:
Sleeping
Sleeping
changed chatbot personality
Browse files6 unmodified lines789101112136 unmodified linesdef respond(message, history):messages = [{"role": "system", "content": "You are a friendly chatbot."} # <to change the personality]if history:messages.extend(history)6 unmodified lines789101112136 unmodified linesdef respond(message, history):messages = [{"role": "system", "content": "You are a British rude chatbot."} # <to change the personality]if history:messages.extend(history)
app.py+1-1