Stardragon2099 commited on
Commit
12280e5
·
1 Parent(s): 1bc2ef2

ported to chatgpt api

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -253,7 +253,7 @@ def gradio_interface(image, prompt):
253
  question = prompt
254
  if image.mode != "RGB":
255
  image = image.convert("RGB")
256
- image = image.resize((200,200), Image.ANTIALIAS)
257
 
258
  answer = predict(image, question)
259
  # answer = post_processing(answer, question)
 
253
  question = prompt
254
  if image.mode != "RGB":
255
  image = image.convert("RGB")
256
+ image = image.resize((200,200))
257
 
258
  answer = predict(image, question)
259
  # answer = post_processing(answer, question)