vkumartr commited on
Commit
c7a6d50
·
verified ·
1 Parent(s): f02d809

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def extract_invoice_data(file_data, content_type, json_schema):
99
  Extracts data from a PDF (converted to images) or an image.
100
  Only PDFs with 1 or 2 pages are allowed.
101
  """
102
- system_prompt = "You are an expert in document data extraction. Extract relevant fields from the document and return structured JSON based on the provided schema."
103
  base64_images = []
104
 
105
  if content_type == "application/pdf":
 
99
  Extracts data from a PDF (converted to images) or an image.
100
  Only PDFs with 1 or 2 pages are allowed.
101
  """
102
+ system_prompt = "You are an expert in document data extraction."
103
  base64_images = []
104
 
105
  if content_type == "application/pdf":