Update app.py
Browse files
app.py
CHANGED
|
@@ -274,7 +274,7 @@ def analyze_image(input_image):
|
|
| 274 |
|
| 275 |
# 调用ERNIE-VL模型
|
| 276 |
response = client.chat.completions.create(
|
| 277 |
-
model="ernie-4.5-turbo-vl", # 简化模型名,避免版本兼容性问题
|
| 278 |
messages=messages,
|
| 279 |
temperature=0.2,
|
| 280 |
top_p=0.8,
|
|
|
|
| 274 |
|
| 275 |
# 调用ERNIE-VL模型
|
| 276 |
response = client.chat.completions.create(
|
| 277 |
+
model="ernie-4.5-turbo-vl-32k", # 简化模型名,避免版本兼容性问题
|
| 278 |
messages=messages,
|
| 279 |
temperature=0.2,
|
| 280 |
top_p=0.8,
|