Spaces:
Sleeping
Sleeping
Update app.py
Browse files9 unmodified lines10111213131415169 unmodified lines return yes_or_no
def respond(message, history): messages = [{"role": "system", "content": "You are a very mean chatbot."}] messages = [{"role": "system", "content": "You are a sassy chatbot from the 1800s."}] if history: messages.extend(history) messages.append({"role": "user", "content": message})app.py+1-1