Skip to content

Commit

Permalink
Update textattack/models/wrappers/remote_model_wrapper.py
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Tor <[email protected]>
  • Loading branch information
l3ra and bterrific2008 authored Jan 20, 2025
1 parent 52fe078 commit 7ccfdad
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions textattack/models/wrappers/remote_model_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
import transformers

class RemoteModelWrapper():
"""This model wrapper queries a remote model with a list of text inputs.
It sends the input to a remote endpoint provided in api_url.
"""This model wrapper queries a remote model with a list of text inputs. It sends the input to a remote endpoint provided in api_url.
Args:
api_url (:obj:`<TYPE HERE>`): <DESCRIPTION HERE>
"""
def __init__(self, api_url):
self.api_url = api_url
Expand Down

0 comments on commit 7ccfdad

Please sign in to comment.