Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def extract_text_from_image(image, model, processor):
|
|
| 27 |
"role": "user",
|
| 28 |
"content": [
|
| 29 |
{"type": "image", "image": image}, # Replace 'image' with your actual image data
|
| 30 |
-
{"type": "text", "text": "Extract
|
| 31 |
]
|
| 32 |
}
|
| 33 |
]
|
|
|
|
| 27 |
"role": "user",
|
| 28 |
"content": [
|
| 29 |
{"type": "image", "image": image}, # Replace 'image' with your actual image data
|
| 30 |
+
{"type": "text", "text": "Extract text from image."}
|
| 31 |
]
|
| 32 |
}
|
| 33 |
]
|