From a438a0941cbe38542124e8087023d214e9f570e9 Mon Sep 17 00:00:00 2001 From: Oscar <49638680+oscar-defelice@users.noreply.github.com> Date: Thu, 20 Apr 2023 12:58:52 +0200 Subject: [PATCH] fix: Correct small typo in docstring (#22857) * fix: Correct small typo in docstring * fix: Run make fixup --- src/transformers/pipelines/conversational.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transformers/pipelines/conversational.py b/src/transformers/pipelines/conversational.py index 2b5758d47c2..93d056c88d4 100644 --- a/src/transformers/pipelines/conversational.py +++ b/src/transformers/pipelines/conversational.py @@ -18,10 +18,10 @@ logger = logging.get_logger(__name__) class Conversation: """ Utility class containing a conversation and its history. This class is meant to be used as an input to the - [`ConversationalPipeline`]. The conversation contains a number of utility function to manage the addition of new - user input and generated model responses. A conversation needs to contain an unprocessed user input before being - passed to the [`ConversationalPipeline`]. This user input is either created when the class is instantiated, or by - calling `conversational_pipeline.append_response("input")` after a conversation turn. + [`ConversationalPipeline`]. The conversation contains several utility functions to manage the addition of new user + inputs and generated model responses. A conversation needs to contain an unprocessed user input before being passed + to the [`ConversationalPipeline`]. This user input is either created when the class is instantiated, or by calling + `conversational_pipeline.append_response("input")` after a conversation turn. Arguments: text (`str`, *optional*):