rosemariafontana commited on
Commit
9a91c95
Β·
verified Β·
1 Parent(s): 8edc3e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def parse_ticket_image(image, question):
54
  # Define questions you want to ask the model
55
 
56
  questions = [
57
- {"question": "What is the ticket number?", "context": image}
58
  ]
59
  #{"question": "What is the type of grain (For example: corn, soy, wheat)?", "context": image},
60
  #{"question": "What is the date?", "context": image},
 
54
  # Define questions you want to ask the model
55
 
56
  questions = [
57
+ {"question": "What is the ticket number?", "context": document}
58
  ]
59
  #{"question": "What is the type of grain (For example: corn, soy, wheat)?", "context": image},
60
  #{"question": "What is the date?", "context": image},