m8chaa commited on
Commit
21e1211
·
verified ·
1 Parent(s): d13b502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ async def request_gpt4o_completion(image_id: str, user_credit: int):
112
  headers = {"Authorization": f"Bearer {OPENAI_KEY}", "Content-Type": "application/json"}
113
  image_url = f"https://drive.usercontent.google.com/u/0/uc?id={image_id}&export=download"
114
  body = {
115
- "model": "gpt-4o",
116
  "response_format": { "type": "json_object" },
117
  "messages": [
118
  {
 
112
  headers = {"Authorization": f"Bearer {OPENAI_KEY}", "Content-Type": "application/json"}
113
  image_url = f"https://drive.usercontent.google.com/u/0/uc?id={image_id}&export=download"
114
  body = {
115
+ "model": "gpt-4o-mini",
116
  "response_format": { "type": "json_object" },
117
  "messages": [
118
  {