Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - classification format type not done correctly #31

Closed
enoch3712 opened this issue Sep 25, 2024 · 0 comments · Fixed by #35
Closed

Bug - classification format type not done correctly #31

enoch3712 opened this issue Sep 25, 2024 · 0 comments · Fixed by #35
Assignees
Labels
bug Something isn't working

Comments

@enoch3712
Copy link
Owner

Exception has occurred: ValueError
Unsupported file type: /Users/regina/Desktop/ExtractThinker/tests/test_images/invoice.png
File "/Users/regina/Desktop/ExtractThinker/extract_thinker/extractor.py", line 241, in classify
raise ValueError(f"Unsupported file type: {input}")
File "/Users/regina/Desktop/ExtractThinker/tests/test_classify.py", line 60, in test_classify_feature
result = extractor.classify(INVOICE_FILE_PATH, COMMON_CLASSIFICATIONS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/regina/Desktop/ExtractThinker/tests/test_classify.py", line 235, in
test_classify_feature()
ValueError: Unsupported file type: /Users/regina/Desktop/ExtractThinker/tests/test_images/invoice.png

@enoch3712 enoch3712 added the bug Something isn't working label Sep 25, 2024
@enoch3712 enoch3712 self-assigned this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant