From 68345c855afcd3a41a5b2f69d2336ce0ac866255 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 8 Apr 2023 15:34:28 +0900 Subject: [PATCH] fix: typo in gpu.py (#30) seperated -> separated --- core/tools/gpu.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/tools/gpu.py b/core/tools/gpu.py index 1a28468..cd3baaf 100644 --- a/core/tools/gpu.py +++ b/core/tools/gpu.py @@ -76,7 +76,7 @@ class ImageEditing(BaseToolSet): name="Remove Something From The Photo", description="useful when you want to remove and object or something from the photo " "from its description or location. " - "The input to this tool should be a comma seperated string of two, " + "The input to this tool should be a comma separated string of two, " "representing the image_path and the object need to be removed. ", ) def inference_remove(self, inputs): @@ -87,7 +87,7 @@ class ImageEditing(BaseToolSet): name="Replace Something From The Photo", description="useful when you want to replace an object from the object description or " "location with another object from its description. " - "The input to this tool should be a comma seperated string of three, " + "The input to this tool should be a comma separated string of three, " "representing the image_path, the object to be replaced, the object to be replaced with ", ) def inference_replace(self, inputs): @@ -132,7 +132,7 @@ class InstructPix2Pix(BaseToolSet): name="Instruct Image Using Text", description="useful when you want to the style of the image to be like the text. " "like: make it look like a painting. or make it like a robot. " - "The input to this tool should be a comma seperated string of two, " + "The input to this tool should be a comma separated string of two, " "representing the image_path and the text. ", ) def inference(self, inputs): @@ -202,7 +202,7 @@ class VisualQuestionAnswering(BaseToolSet): name="Answer Question About The Image", description="useful when you need an answer for a question based on an image. " "like: what is the background color of the last image, how many cats in this figure, what is in this figure. " - "The input to this tool should be a comma seperated string of two, representing the image_path and the question", + "The input to this tool should be a comma separated string of two, representing the image_path and the question", ) def inference(self, inputs): image_path, question = inputs.split(",")