tlodato commited on
Commit
1e111d1
·
1 Parent(s): 203f4a0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def vqa(image_path:str, prompt:str):
14
  def variants(image_path:str,prompt:str):
15
  with tempfile.NamedTemporaryFile(mode="wb") as img:
16
  img = Image.open(image_path,mode="r").rotate(90).save("temp.jpg")
17
- vqa(img,prompt)
18
 
19
 
20
 
 
14
  def variants(image_path:str,prompt:str):
15
  with tempfile.NamedTemporaryFile(mode="wb") as img:
16
  img = Image.open(image_path,mode="r").rotate(90).save("temp.jpg")
17
+ return vqa(img,prompt)
18
 
19
 
20