Update app.py
Browse files
app.py
CHANGED
@@ -23,4 +23,4 @@ def process_image(image, processor, model):
|
|
23 |
generated_ids = model.generate(**inputs)
|
24 |
text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
25 |
|
26 |
-
return text
|
|
|
23 |
generated_ids = model.generate(**inputs)
|
24 |
text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
25 |
|
26 |
+
return text
|