Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 45 |
-
|
| 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():
|