Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
nightingal3 committed Jul 9, 2023
1 parent ccded32 commit 272fc73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llm_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def prompt(
Returns:
"""
if isinstance(text, str):
return self.prompt([text], max_new_tokens, output_scores, output_hidden_states, **kwargs)
return self.prompt(
[text], max_new_tokens, output_scores, output_hidden_states, **kwargs
)

# TODO: Check for max length limit to avoid OOMs

Expand Down

0 comments on commit 272fc73

Please sign in to comment.