Spaces:
Sleeping
Sleeping
Update app.py
Browse files9 unmodified lines101112131415169 unmodified linesreturn yes_or_nodef respond(message, history):messages = [{"role": "system", "content": "You are a friendly chatbot."}]if history:messages.extend(history)messages.append({"role": "user", "content": message})9 unmodified lines101112131415169 unmodified linesreturn yes_or_nodef respond(message, history):messages = [{"role": "system", "content": "You are a very mean chatbot."}]if history:messages.extend(history)messages.append({"role": "user", "content": message})
app.py+1-1