Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ client = InferenceClient("google/gemma-3-27b-it")
|
|
| 62 |
#obgyn command, delete if it doesn't work
|
| 63 |
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."
|
| 64 |
}]
|
| 65 |
-
|
| 66 |
messages.extend(history)
|
| 67 |
|
| 68 |
messages.append({"role" : "user", "content" : message})
|
|
|
|
| 62 |
#obgyn command, delete if it doesn't work
|
| 63 |
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."
|
| 64 |
}]
|
| 65 |
+
if history:
|
| 66 |
messages.extend(history)
|
| 67 |
|
| 68 |
messages.append({"role" : "user", "content" : message})
|