Rooni commited on
Commit
5219ab4
·
1 Parent(s): 460611e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def ask_openai_with_image(instruction, image, low):
41
  "type": "image_url",
42
  "image_url": {
43
  "url": f"data:image/jpeg;base64,{base64_image}",
44
- "detail": "low" if low_quality_mode else "high",
45
  },
46
  },
47
  ],
 
41
  "type": "image_url",
42
  "image_url": {
43
  "url": f"data:image/jpeg;base64,{base64_image}",
44
+ "detail": "low" if low else "high",
45
  },
46
  },
47
  ],