Spaces:
Sleeping
Sleeping
Stardragon2099
commited on
Commit
·
a02bab6
1
Parent(s):
1bbbb4e
ported to chatgpt api
Browse files
app.py
CHANGED
@@ -259,7 +259,7 @@ def gradio_interface(image, prompt):
|
|
259 |
question = prompt
|
260 |
if image.mode != "RGB":
|
261 |
image = image.convert("RGB")
|
262 |
-
image = image.resize((200,200))
|
263 |
|
264 |
answer = predict(image, question)
|
265 |
# answer = post_processing(answer, question)
|
|
|
259 |
question = prompt
|
260 |
if image.mode != "RGB":
|
261 |
image = image.convert("RGB")
|
262 |
+
# image = image.resize((200,200))
|
263 |
|
264 |
answer = predict(image, question)
|
265 |
# answer = post_processing(answer, question)
|