Spaces:
Paused
Paused
Update mainapp.py
Browse files- mainapp.py +1 -1
mainapp.py
CHANGED
|
@@ -16,7 +16,7 @@ def home():
|
|
| 16 |
# 🔥 Process single image
|
| 17 |
async def process_image(image: Image.Image, page_num: int):
|
| 18 |
prompt = """
|
| 19 |
-
Extract all text and return ONLY valid JSON structured.
|
| 20 |
|
| 21 |
"""
|
| 22 |
|
|
|
|
| 16 |
# 🔥 Process single image
|
| 17 |
async def process_image(image: Image.Image, page_num: int):
|
| 18 |
prompt = """
|
| 19 |
+
Extract all text from this image and return ONLY valid JSON in structured format.
|
| 20 |
|
| 21 |
"""
|
| 22 |
|