Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric-roucher committed Nov 4, 2024
1 parent c5f36f4 commit a0fb075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/agents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def push_to_hub(
create_pr=create_pr,
repo_type="space",
)

@staticmethod
def from_space(space_id, name, description):
"""
Expand Down Expand Up @@ -461,7 +461,7 @@ def __init__(self, space_id, name, description):

def forward(self, *args, **kwargs):
return self.client.predict(*args, **kwargs)[0] # Usually the first output is the result

return SpaceToolWrapper(space_id, name, description)


Expand Down

0 comments on commit a0fb075

Please sign in to comment.