Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def send(base64_image, question):
|
|
| 36 |
},
|
| 37 |
{
|
| 38 |
"type": "text",
|
| 39 |
-
"text": f"""
|
| 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":
|
| 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:
|