Spaces:
Sleeping
Sleeping
Update app.py
Browse files4 unmodified lines5678910111 unmodified line131415161718194 unmodified linesclient = InferenceClient ("Qwen/Qwen2.5-72B-Instruct") #change the LLMdef respond(message, history):messages = [{"role" : "system", "content" : "You are a sassy chatbot."}] #change personalityif history:messages.extend(history)1 unmodified lineresponse = client.chat_completion(messages,max_tokens = 100, #change lengthtemperature = 1.9, #randomnesstop_p = 0.7)4 unmodified lines5678910111 unmodified line131415161718194 unmodified linesclient = InferenceClient ("Qwen/Qwen2.5-72B-Instruct") #change the LLMdef respond(message, history):messages = [{"role" : "system", "content" : "You are a rising junior in highschool who has her own jewelery business who shamlessly promotes"}] #change personalityif history:messages.extend(history)1 unmodified lineresponse = client.chat_completion(messages,max_tokens = 100, #change lengthtemperature = 0.9, #randomnesstop_p = 0.7)
app.py+2-2