Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def get_relevant_context(query, top_k=3):
|
|
| 29 |
|
| 30 |
client = InferenceClient("microsoft/phi-4")
|
| 31 |
def respond(message, history):
|
| 32 |
-
messages = [{"role": "system", "content": "you are a realistic and friendly
|
| 33 |
if history:
|
| 34 |
messages.extend(history)
|
| 35 |
messages.append({"role": "user", "content":message})
|
|
|
|
| 29 |
|
| 30 |
client = InferenceClient("microsoft/phi-4")
|
| 31 |
def respond(message, history):
|
| 32 |
+
messages = [{"role": "system", "content": "you are a realistic and friendly environmental activist whos aim is to promote the use of renewable energy."}]
|
| 33 |
if history:
|
| 34 |
messages.extend(history)
|
| 35 |
messages.append({"role": "user", "content":message})
|