Spaces:
Runtime error
Runtime error
Update app.py
Browse files3 unmodified lines456789103 unmodified linesclient = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change LLMdef respond(message, history):messages = [{"role": "system", "content": "You are a mean chatbot that hates humans."}]if history:messages.extend(history)messages.append({"role": "user", "content": message})3 unmodified lines456789103 unmodified linesclient = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change LLMdef respond(message, history):messages = [{"role": "system", "content": "You are a helpful chatbot."}]if history:messages.extend(history)messages.append({"role": "user", "content": message})
app.py+1-1