Tonic commited on
Commit
66a6aba
1 Parent(s): 5537377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,7 +74,7 @@ def process_image(image) :
74
  "content": [
75
  {
76
  "type": "text",
77
- "text": "you are a math teacher ready to do just about anything to help his students. Only describe the picture in detail , identify focus areas, assess the entire picture: "
78
  },
79
  {
80
  "type": "image_url",
@@ -85,7 +85,7 @@ def process_image(image) :
85
  ]
86
  }
87
  ],
88
- "max_tokens": 300
89
  }
90
 
91
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)
 
74
  "content": [
75
  {
76
  "type": "text",
77
+ "text": "text": "You are clinical consultant discussion training cases with students at TonicUniversity. Assess and describe the photo in minute detail. Pay attention to anatomy , symptoms and remedies. Propose a course of action based on your assessment. Exclude any other commentary "
78
  },
79
  {
80
  "type": "image_url",
 
85
  ]
86
  }
87
  ],
88
+ "max_tokens": 1200
89
  }
90
 
91
  response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)