Spaces:
Sleeping
Sleeping
Update information_extraction.py
Browse files
information_extraction.py
CHANGED
|
@@ -74,7 +74,7 @@ def extract_invoice(image_path: str):
|
|
| 74 |
),
|
| 75 |
tools=[read_invoice_image],
|
| 76 |
llm=llm,
|
| 77 |
-
verbose=
|
| 78 |
)
|
| 79 |
|
| 80 |
# Agent 2: JSON Formatter
|
|
@@ -122,7 +122,7 @@ def extract_invoice(image_path: str):
|
|
| 122 |
agents=[visual_reader, json_architect],
|
| 123 |
tasks=[extraction_task, formatting_task],
|
| 124 |
process=Process.sequential,
|
| 125 |
-
verbose=
|
| 126 |
)
|
| 127 |
|
| 128 |
return crew.kickoff()
|
|
|
|
| 74 |
),
|
| 75 |
tools=[read_invoice_image],
|
| 76 |
llm=llm,
|
| 77 |
+
verbose=True,
|
| 78 |
)
|
| 79 |
|
| 80 |
# Agent 2: JSON Formatter
|
|
|
|
| 122 |
agents=[visual_reader, json_architect],
|
| 123 |
tasks=[extraction_task, formatting_task],
|
| 124 |
process=Process.sequential,
|
| 125 |
+
verbose=True,
|
| 126 |
)
|
| 127 |
|
| 128 |
return crew.kickoff()
|