So I was getting an error
AttributeError: 'NamedString' object has no attribute 'orig_name'
'NamedString' object has no attribute 'orig_name'
and no images would get generated. With ChatGPT’s help, I found out that changing orig_name to just name fixed the issue. Now the extension works as intended.
Steps to Reproduce:
Set up the extension following the README instructions.
Upload a text file with artist names (e.g., artist.csv).
Run the extension.
Expected Behavior: The extension should process the uploaded file and generate inspiration images without any issues.
Actual Behavior: The extension throws an AttributeError because it tries to access an attribute orig_name that doesn’t exist on the file object.
Changing file.orig_name to file.name fixes the issue.