uartimcs commited on
Commit
7c15745
1 Parent(s): e544363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def analysis_process(pdf_file):
16
  image_path = "first_page.jpg"
17
  image.save(image_path)
18
 
19
- output = model.inference(image=image_path, prompt=task_prompt)["predictions"][0]
20
  return output
21
 
22
  task_name = "SGSInvoice"
 
16
  image_path = "first_page.jpg"
17
  image.save(image_path)
18
 
19
+ output = model.inference(image=image, prompt=task_prompt)["predictions"][0]
20
  return output
21
 
22
  task_name = "SGSInvoice"