Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix name 'cleaners' is not defined #37

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Conversation

linyueqian
Copy link
Contributor

When I try to test the model using codes in 🪑 Basics, I came across an error. It can be fixed after changing the code in __init__.py

     67   for name in cleaner_names:
---> 68     cleaner = getattr(cleaners, name)
     69     if not cleaner:
     70       raise Exception('Unknown cleaner: %s' % name)

NameError: name 'cleaners' is not defined```

@Plachtaa Plachtaa merged commit c0ec663 into Plachtaa:master Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants