code: def Attack(model):
      goal_function = (
          textattack.goal_functions.UntargetedClassification(model)
      )
      search_method = textattack.search_methods.GreedyWordSwapWIR()
      transformation = (
          textattack.transformations.WordSwapRandomCharacterSubstitution()
      )
      constraints = []
      return textattack.Attack(
          goal_function, constraints, transformation, search_method
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: Attack(model) and returns: textattack