Spaces:
Runtime error
Runtime error
Update app.py
Browse files6 unmodified lines78910101112136 unmodified lines
def respond(message, history): messages = [{"role": "system", "content": "You are a friendly chatbot."}] #change the personality messages = [{"role": "system", "content": "You are a sassy chatbot."}] #change the personality if history: messages.extend(history)app.py+1-1