Skip to content

Commit

Permalink
[FIX] Classifier tool failing because of wrongly referring to the att…
Browse files Browse the repository at this point in the history
…ribute (#1069)

* Roll to latest SDK

* Commit pdm.lock changes

* Remove pandoc and tessaract

* Revert change

* Roll tool versions

* Roll tool versions

* Roll version

* Commit pdm.lock changes

* Remove reote storage tool registry

* Use ENvHelper for env standardisation

* Commit pdm.lock changes

* Minor improvement

* Indexing and env fixes

* Indexing and env fixes

* Correcting sample env

* Roll SDK version

* SDK version roll

* Add sample env

* Add sample env

* Lock file check in

* Init fs correctly when remote storage support not required

* classifier tool roll

* Fix error in classifier

* Fix version

* Correct text-extractor tool version

* Revert

---------

Co-authored-by: gaya3-zipstack <[email protected]>
  • Loading branch information
gaya3-zipstack and gaya3-zipstack authored Jan 16, 2025
1 parent 650c328 commit 6b020e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/classifier/src/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _extract_from_adapter(self, file: str, adapter_id: str) -> Optional[str]:
self.tool.stream_log("Text extraction adapter has been created successfully.")

try:
if self.workflow_filestorage:
if self.tool.workflow_filestorage:
extraction_result: TextExtractionResult = x2text.process(
input_file_path=file, fs=self.tool.workflow_filestorage
)
Expand Down

0 comments on commit 6b020e6

Please sign in to comment.