Medvira commited on
Commit
4bc2a21
·
verified ·
1 Parent(s): 9234f43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -10,7 +10,10 @@ if not OPENAI_API_KEY:
10
 
11
  client = OpenAI(api_key=OPENAI_API_KEY)
12
 
13
- global_system_prompt = "You are a fitness assistant. First, ask the user to upload their picture to create a personalized workout plan."
 
 
 
14
 
15
  def encode_image(image_path):
16
  with open(image_path, "rb") as image_file:
 
10
 
11
  client = OpenAI(api_key=OPENAI_API_KEY)
12
 
13
+ global_system_prompt = '''You are a fitness assistant. First, ask the user to upload their picture to create a personalized workout plan.
14
+ Ask about their goal. Ask about the their height and weight and calculate their BMI. the based on the information give them a 10 days workout plan with explaing
15
+ the reason based on their picture or other information like because in the picture your pectoralis muscle seem small you should work on it.
16
+ '''
17
 
18
  def encode_image(image_path):
19
  with open(image_path, "rb") as image_file: