Update app.py
Browse files
app.py
CHANGED
@@ -39,9 +39,9 @@ attack_recipes = {
|
|
39 |
def init():
|
40 |
nltk.download("omw-1.4")
|
41 |
|
42 |
-
if not os.path.exists("TAD-SST2"):
|
43 |
-
|
44 |
-
|
45 |
|
46 |
for attacker in ["pwws", "bae", "textfooler", "deepwordbug"]:
|
47 |
for dataset in [
|
|
|
39 |
def init():
|
40 |
nltk.download("omw-1.4")
|
41 |
|
42 |
+
# if not os.path.exists("TAD-SST2"):
|
43 |
+
# z = zipfile.ZipFile("checkpoints.zip", "r")
|
44 |
+
# z.extractall(os.getcwd())
|
45 |
|
46 |
for attacker in ["pwws", "bae", "textfooler", "deepwordbug"]:
|
47 |
for dataset in [
|