rosemariafontana commited on
Commit
eaebdde
Β·
verified Β·
1 Parent(s): abb80cf

changed image path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def parse_ticket_image(image, question):
42
  # Processing the image
43
  if image:
44
  try:
45
- document = Image.open(image.name).convert("RGB")
46
  except Exception as e:
47
  traceback.print_exc()
48
  error = str(e)
 
42
  # Processing the image
43
  if image:
44
  try:
45
+ document = Image.open(image).convert("RGB")
46
  except Exception as e:
47
  traceback.print_exc()
48
  error = str(e)