Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def respond(message, history, scenario, max_tokens, temperature, top_p):
|
|
| 18 |
Respond to the user's message.
|
| 19 |
"""
|
| 20 |
# Build the dynamic system message with the chosen scenario
|
| 21 |
-
system_message = f"You are acting as a {scenario} role in a scenario. Only answer as {scenario} role, never include anything as if you were an User role."
|
| 22 |
full_prompt = system_message + "\n"
|
| 23 |
print(system_message)
|
| 24 |
# Include the chat history in the prompt
|
|
|
|
| 18 |
Respond to the user's message.
|
| 19 |
"""
|
| 20 |
# Build the dynamic system message with the chosen scenario
|
| 21 |
+
system_message = f"You are acting as a {scenario} role in a scenario. Only answer as {scenario} role, never include anything as if you were an User role. Just fill in the assistant answer."
|
| 22 |
full_prompt = system_message + "\n"
|
| 23 |
print(system_message)
|
| 24 |
# Include the chat history in the prompt
|