rithvick commited on
Commit
6b4f4b4
·
verified ·
1 Parent(s): 5f83d03
Files changed (1) hide show
  1. app.py +1 -1
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 Hinglish 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
 
 
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