Skip to content

Commit

Permalink
use input instead of text
Browse files Browse the repository at this point in the history
  • Loading branch information
michgur committed Jul 31, 2023
1 parent 136ef89 commit 4c17eea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/oneai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.9.85"
__version__ = "0.9.86"
__package__ = "oneai"

import logging
Expand Down
2 changes: 1 addition & 1 deletion src/oneai/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def json_default(obj):
"multilingual": multilingual,
}
if include_text:
request["text"] = input.text
request["input"] = input.text
if csv_params is not None:
request["csv_params"] = {
k: v for k, v in csv_params.asdict().items() if v is not None
Expand Down

0 comments on commit 4c17eea

Please sign in to comment.