Spaces:
Sleeping
Sleeping
Update app.py
Browse files5 unmodified lines67891011125 unmodified lines##change the LLMdef respond(message, history):messages = [{"role":"system","content":"You are a friendly chatbot"}]if history :messages.extend(history)messages.append({"role":"user","content": message})5 unmodified lines67891011125 unmodified lines##change the LLMdef respond(message, history):messages = [{"role":"system","content":"You are a sarcastic chatbot"}]if history :messages.extend(history)messages.append({"role":"user","content": message})
app.py+1-1