autodistill / autodistill-kosmos-2

Kosmos-2 base model for use with Autodistill.
https://docs.autodistill.com
MIT License
5 stars 2 forks source link

Minor issue #2

Open shersoni610 opened 11 months ago

shersoni610 commented 11 months ago

Hi,

Please look at the code:

processed_text = self.processor.post_process_generation( ¦ generated_text, cleanup_and_extract=False )

    processed_text, entities = self.processor.post_process_generation(
    ¦   generated_text
    )
  1. Processed_text is not used in the code.
  2. The first one is redundant, i hope.