From 3df83659e444d78fa22c5a67deadfa649b9af94f Mon Sep 17 00:00:00 2001 From: gmurro Date: Tue, 5 Jul 2022 17:46:10 +0200 Subject: [PATCH] Change old arg reference --- webdemo/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webdemo/config.py b/webdemo/config.py index 5e1df4a..81b47d5 100644 --- a/webdemo/config.py +++ b/webdemo/config.py @@ -1,5 +1,5 @@ import textattack -MODELS = textattack.commands.attack.attack_args.HUGGINGFACE_DATASET_BY_MODEL -ATTACK_RECIPES = textattack.commands.attack.attack_args.ATTACK_RECIPE_NAMES +MODELS = textattack.dataset_args.HUGGINGFACE_DATASET_BY_MODEL +ATTACK_RECIPES = textattack.attack_args.ATTACK_RECIPE_NAMES HIDDEN_ATTACK_RECIPES = ['alzantot', 'seq2sick', 'hotflip'] \ No newline at end of file