faizaaska517 commited on
Commit
2a62921
·
verified ·
1 Parent(s): 501a146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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