Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def analyze_image(image):
|
|
| 84 |
|
| 85 |
# Fix model name typo and add error handling for API response
|
| 86 |
response = client.chat.completions.create(
|
| 87 |
-
model="gpt-
|
| 88 |
messages=[
|
| 89 |
{
|
| 90 |
"role": "user",
|
|
|
|
| 84 |
|
| 85 |
# Fix model name typo and add error handling for API response
|
| 86 |
response = client.chat.completions.create(
|
| 87 |
+
model="gpt-4o-mini", # Corrected model name
|
| 88 |
messages=[
|
| 89 |
{
|
| 90 |
"role": "user",
|