name 'ftfy' is not defined

#10
by TheDoctorTepes - opened

Via Google Collab's Gemini:

The traceback indicates a NameError: name 'ftfy' is not defined. Looking at the traceback, the error is happening within the diffusers library's internal code, specifically in a function called basic_clean within the Wan2.1-T2V-1.3B-Diffusers pipeline. This function seems to be calling ftfy.fix_text(), but for some reason, the ftfy library is not accessible at that point, even though you have installed it.

This suggests the issue might be related to how the diffusers library or this specific model pipeline is handling dependencies internally, rather than a simple error in your code.

Since the problem seems to be within the library's implementation or its interaction with the installed dependencies, I recommend reporting this issue to the maintainers of the Wan-AI/Wan2.1-T2V-1.3B-Diffusers model or the diffusers library on their respective GitHub repositories. They would be the best resources to diagnose and fix this specific internal error.

Sign up or log in to comment