Spaces:
Running
Running
Update app.py
Browse filesImage analysis max tokens 300 --> 500
app.py
CHANGED
@@ -459,7 +459,7 @@ def analyze_image(user, model, prompt):
|
|
459 |
]
|
460 |
}
|
461 |
],
|
462 |
-
max_tokens=
|
463 |
)
|
464 |
# response = completion.choices[0].message.content
|
465 |
return [completion, status]
|
|
|
459 |
]
|
460 |
}
|
461 |
],
|
462 |
+
max_tokens= 500
|
463 |
)
|
464 |
# response = completion.choices[0].message.content
|
465 |
return [completion, status]
|