Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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":
|
| 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},
|