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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def demo_process(input_pdf):
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
 
 
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