Spaces:
Sleeping
Sleeping
Commit
·
12280e5
1
Parent(s):
1bc2ef2
ported to chatgpt api
Browse files
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)
|
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)
|