diffusers
0a1c13af - image_processor.py: Fixed an error in ValueError's message (#8447)

Comment changes are shownComment changes are hidden
Commit
1 year ago
image_processor.py: Fixed an error in ValueError's message (#8447) * image_processor.py: Fixed an error in ValueError's message , as the string's join method tried to join types, instead of strings Bug that occurred: f"Input is in incorrect format. Currently, we only support {', '.join(supported_formats)}" TypeError: sequence item 0: expected str instance, type found * Fixed: C417 Unnecessary `map` usage (rewrite using a generator expression) --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Author
Parents
  • src/diffusers
    • File
      image_processor.py