Maddiew1314 commited on
Commit
c021456
·
verified ·
1 Parent(s): 5d188ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import random
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 file:
14
  wellness_text = file.read()
15
 
16
  #cleaning up the text
@@ -96,7 +96,7 @@ with gr.Blocks(css=custom_css) as demo:
96
  examples=[
97
  "Can you help me with my dietary goals? Nessie can help you track your calories, macros, and give advice based on personal goals, height, and weight.",
98
  "Can you help me with my physical health and help me reach my fitness goals? Nessie can give guidance and recommendations for specific workouts based on personal goals.",
99
- "I want to get more into journaling! Can you give me some journal prompts?"
100
  ]
101
  )
102
  #chatbot = gr.ChatInterface(respond, type = 'messages', title= "Hi! I'm Nessie, your personal wellness assistant. What can I assist you with today?",examples=["Can I help you with your dietary goals? I can help you track your calories, macros, and give advice based on personal goals, height, and weight.","Can I help you with your physical health and help you reach your fitness goals? I can give guidance and recommendations for specific workouts based on personal goals.","If you are struggling, I am here. You are so beautiful and so loved! I'm here for whatever you need. "])
 
10
  client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
11
 
12
  #adding text file
13
+ with open("be_a_better_you.txt", "journal_prompts.txt", "r", encoding="utf-8") as file:
14
  wellness_text = file.read()
15
 
16
  #cleaning up the text
 
96
  examples=[
97
  "Can you help me with my dietary goals? Nessie can help you track your calories, macros, and give advice based on personal goals, height, and weight.",
98
  "Can you help me with my physical health and help me reach my fitness goals? Nessie can give guidance and recommendations for specific workouts based on personal goals.",
99
+ "Can you give me some journal prompts? I want to start journaling to help myself reflect on my goals and have some daily affirmations. "
100
  ]
101
  )
102
  #chatbot = gr.ChatInterface(respond, type = 'messages', title= "Hi! I'm Nessie, your personal wellness assistant. What can I assist you with today?",examples=["Can I help you with your dietary goals? I can help you track your calories, macros, and give advice based on personal goals, height, and weight.","Can I help you with your physical health and help you reach your fitness goals? I can give guidance and recommendations for specific workouts based on personal goals.","If you are struggling, I am here. You are so beautiful and so loved! I'm here for whatever you need. "])