uartimcs commited on
Commit
a883718
·
verified ·
1 Parent(s): f0cbdb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def demo_process(input_pdf):
24
 
25
 
26
  # zip_path = "images.zip"
27
- image_path = os.path.join(temp_dir, image_name)
28
- output = model.inference(image=image_path, prompt=task_prompt)["predictions"][0]
29
  # with zipfile.ZipFile(zip_path, "w") as zipf:
30
  # zipf.write(os.path.join(temp_dir, image_name), image_name)
31
 
 
24
 
25
 
26
  # zip_path = "images.zip"
27
+ # image_path = os.path.join(temp_dir, image_name)
28
+ output = model.inference(image=image_name prompt=task_prompt)["predictions"][0]
29
  # with zipfile.ZipFile(zip_path, "w") as zipf:
30
  # zipf.write(os.path.join(temp_dir, image_name), image_name)
31