Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ model_wrapper = HuggingFaceModelWrapper(model, tokenizer)
|
|
17 |
attack = TextFoolerJin2019.build(model_wrapper)
|
18 |
|
19 |
# Function to run attack
|
20 |
-
def run_attack(input_text):
|
21 |
def run_attack(input_text):
|
22 |
try:
|
23 |
# Attempt to modify the input text
|
|
|
17 |
attack = TextFoolerJin2019.build(model_wrapper)
|
18 |
|
19 |
# Function to run attack
|
|
|
20 |
def run_attack(input_text):
|
21 |
try:
|
22 |
# Attempt to modify the input text
|