shtif commited on
Commit
2477b23
·
1 Parent(s): ce487ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def launch(input):
15
  for file in input:
16
  inputs = processor(Image.open(file.name), return_tensors="pt")
17
  out = model.generate(**inputs)
18
- outputs.append(processor.decode(out[0], skip_special_tokens=True)
19
 
20
  return outputs
21
 
 
15
  for file in input:
16
  inputs = processor(Image.open(file.name), return_tensors="pt")
17
  out = model.generate(**inputs)
18
+ outputs.append(processor.decode(out[0], skip_special_tokens=True))
19
 
20
  return outputs
21