Update main.py
Browse files
main.py
CHANGED
|
@@ -167,7 +167,7 @@ def extract_page_text(reader, page_num):
|
|
| 167 |
return reader.pages[page_num].extract_text() or ""
|
| 168 |
return ""
|
| 169 |
|
| 170 |
-
def process_with_gemini(text: str) -> str
|
| 171 |
prompt = """Analyze this bank statement and extract transactions in JSON format with these fields:
|
| 172 |
- Date (format DD/MM/YYYY)
|
| 173 |
- Description
|
|
|
|
| 167 |
return reader.pages[page_num].extract_text() or ""
|
| 168 |
return ""
|
| 169 |
|
| 170 |
+
def process_with_gemini(text: str) -> str:
|
| 171 |
prompt = """Analyze this bank statement and extract transactions in JSON format with these fields:
|
| 172 |
- Date (format DD/MM/YYYY)
|
| 173 |
- Description
|