Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ import requests
|
|
| 10 |
client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
| 11 |
|
| 12 |
#adding text file
|
| 13 |
-
with open("be_a_better_you.txt", "r", encoding="utf-8") as file1, open("journal_prompts.txt", "r", encoding="utf-8") as file2:
|
| 14 |
-
wellness_text = file1.read() + "\n" + file2.read()
|
| 15 |
|
| 16 |
#cleaning up the text
|
| 17 |
cleaned_text = wellness_text.strip()
|
|
|
|
| 10 |
client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
| 11 |
|
| 12 |
#adding text file
|
| 13 |
+
with open("be_a_better_you.txt", "r", encoding="utf-8") as file1, open("journal_prompts.txt", "r", encoding="utf-8") as file2, open("workout.txt", "r", encoding="utf-8") as file3:
|
| 14 |
+
wellness_text = file1.read() + "\n" + file2.read() +"\n" + file3.read()
|
| 15 |
|
| 16 |
#cleaning up the text
|
| 17 |
cleaned_text = wellness_text.strip()
|