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