danial0203 commited on
Commit
1ad7521
·
verified ·
1 Parent(s): a9599b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def process_files_fixed(image_path, page_identifier, error_pages):
111
  "text": prompt
112
  },
113
  {
114
- "type": "image_url",
115
  "image_url": f"data:image/jpeg;base64,{base64_image}"
116
  }
117
  ]
 
111
  "text": prompt
112
  },
113
  {
114
+ "type": "image",
115
  "image_url": f"data:image/jpeg;base64,{base64_image}"
116
  }
117
  ]