diff --git a/backend/modelscope_studio/components/Chatbot/__init__.py b/backend/modelscope_studio/components/Chatbot/__init__.py index 3460f7f9..4b4b79ba 100644 --- a/backend/modelscope_studio/components/Chatbot/__init__.py +++ b/backend/modelscope_studio/components/Chatbot/__init__.py @@ -240,7 +240,7 @@ def preprocess( ) -> List[List[MultimodalMessage | None]]: if self.data_preprocess: payload = self.data_preprocess(self, payload) - payload = self.__class__.data_postprocess(self, payload) + payload = self.__class__.data_preprocess(self, payload) if payload is None: return payload processed_messages = [] diff --git a/pyproject.toml b/pyproject.toml index 1e370b60..732a7455 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "hatchling.build" [project] name = "modelscope_studio" -version = "0.0.5" +version = "0.0.6" description = "A set of extension component, inluding components for conversational input and display in multimodal scenarios, as well as more components for vertical scenarios." readme = "README.md" license = "Apache-2.0"