ameeraiq commited on
Commit
5805355
·
verified ·
1 Parent(s): c7a31dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -41,13 +41,8 @@ embedding_model = SentenceTransformer("all-MiniLM-L6-v2")
41
 
42
  client = InferenceClient("google/gemma-3-27b-it")
43
 
44
- positive_messages = [
45
- "You are capable of amazing things. Keep going! 💗",
46
- "Small steps every day lead to big accomplishments! 🌟",
47
- "Your hard work is building your future.",
48
- "Believe in yourself — you are more prepared than you think!",
49
- "Take things one step at a time. You've got this! 🌸",
50
- ]
51
 
52
 
53
  def lucky_dumpling():
 
41
 
42
  client = InferenceClient("google/gemma-3-27b-it")
43
 
44
+ with open("knowledge.txt", "r", encoding="utf-8") as f:
45
+ positive_messages = [line.strip() for line in f if line.strip()]
 
 
 
 
 
46
 
47
 
48
  def lucky_dumpling():