We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
module 'textattack.commands' has no attribute 'attack'
As title says.
I'm using Python 3.10.4 and running python manae.py runserver after doing the installation of all of the requirements.
python manae.py runserver
The text was updated successfully, but these errors were encountered:
I also meet this problem Do you know how to solve it?
Sorry, something went wrong.
Change the content of the \TextAttack-WebDemo\webdemo\config.py file to this:
import textattack
MODELS = textattack.dataset_args.HUGGINGFACE_DATASET_BY_MODEL ATTACK_RECIPES = textattack.attack_args.ATTACK_RECIPE_NAMES HIDDEN_ATTACK_RECIPES = ['alzantot', 'seq2sick', 'hotflip']
No branches or pull requests
As title says.
I'm using Python 3.10.4 and running
python manae.py runserver
after doing the installation of all of the requirements.The text was updated successfully, but these errors were encountered: