We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1791306 commit 2a6cdc0Copy full SHA for 2a6cdc0
1 file changed
src/diffusers/pipelines/wan/pipeline_wan.py
@@ -76,7 +76,8 @@
76
77
78
def basic_clean(text):
79
- text = ftfy.fix_text(text)
+ if is_ftfy_available():
80
+ text = ftfy.fix_text(text)
81
text = html.unescape(html.unescape(text))
82
return text.strip()
83
0 commit comments