Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def extract_and_summarize(image):
|
|
43 |
|
44 |
# Call GPT-4 API for summarization
|
45 |
response = client.chat.completions.create(
|
46 |
-
model="gpt-4o",
|
47 |
messages=prompt,
|
48 |
temperature=0.0,
|
49 |
max_tokens=300,
|
|
|
43 |
|
44 |
# Call GPT-4 API for summarization
|
45 |
response = client.chat.completions.create(
|
46 |
+
model="gpt-4o-mini",
|
47 |
messages=prompt,
|
48 |
temperature=0.0,
|
49 |
max_tokens=300,
|