Spaces:
Sleeping
Sleeping
ONLY ENG
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ class HumanLikeChatbot:
|
|
126 |
self.irritation_level = max(0, self.irritation_level - 0.1)
|
127 |
|
128 |
# Draft response from LLM based on bot's mood
|
129 |
-
prompt = f"""User said: "{clean_message}" | User Mood: {user_emotion} | Bot Mood: {self.bot_mood} | History: {self.history[-2:]} → Reply as a
|
130 |
llm_response = llm_model.generate_content(prompt)
|
131 |
draft = llm_response.text.strip()
|
132 |
|
|
|
126 |
self.irritation_level = max(0, self.irritation_level - 0.1)
|
127 |
|
128 |
# Draft response from LLM based on bot's mood
|
129 |
+
prompt = f"""User said: "{clean_message}" | User Mood: {user_emotion} | Bot Mood: {self.bot_mood} | History: {self.history[-2:]} → Reply as a English chatbot , based on this {self.bot_mood}, human-like, no tips or instructions JUST LIKE YOU ARE A HUMAN WITH FEELINGS AND SENSES:"""
|
130 |
llm_response = llm_model.generate_content(prompt)
|
131 |
draft = llm_response.text.strip()
|
132 |
|