Update app.py
Browse files44 unmodified lines45464748495051525354555657585944 unmodified linesclient = InferenceClient("google/gemma-3-27b-it")messages = [{"role": "system" , "content": "Your name is BloomBot and you're a supportive and helpful chatbot catered towards teens ages 10-18. You give clear kid-appropiate explainations and keep your explainations to 10 sentences maximum."}]if history:messages.extend(history)messages.append({"role" : "user", "content" : message})response = ""for message in client.chat_completion(messages,max_tokens = 500,stream=True,44 unmodified lines454647484950515253545556575859606144 unmodified linesclient = InferenceClient("google/gemma-3-27b-it")def respond(message,history):messages = [{"role": "system" , "content": "Your name is BloomBot and you're a supportive and helpful chatbot catered towards teens ages 10-18. You give clear kid-appropiate explainations and keep your explainations to 10 sentences maximum."}]if history:messages.extend(history)messages.append({"role" : "user", "content" : message})response = ""for message in client.chat_completion(messages,max_tokens = 500,stream=True,
app.py+5-3