cloud-sean commited on
Commit
22cfc75
·
verified ·
1 Parent(s): acc6d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def send(base64_image, question):
36
  },
37
  {
38
  "type": "text",
39
- "text": f""" look at the following list of items, are they present in the image or not {question}. Answer in a JSON format in this style / format:""" + """\n""" + """{
40
  "items_present": {
41
  "bottle": true
42
  }
@@ -45,7 +45,7 @@ def send(base64_image, question):
45
  ]
46
  },],
47
  "temperature": 0.7,
48
- "max_tokens": 300,
49
  "top_p": 0.95,
50
  }
51
  try:
 
36
  },
37
  {
38
  "type": "text",
39
+ "text": f""" {question}.""" + """\n""" + """{
40
  "items_present": {
41
  "bottle": true
42
  }
 
45
  ]
46
  },],
47
  "temperature": 0.7,
48
+ "max_tokens": 400,
49
  "top_p": 0.95,
50
  }
51
  try: