From d58b45374d6c89718c87d2ebb6a78f4470e21534 Mon Sep 17 00:00:00 2001 From: Col0ring <1561999073@qq.com> Date: Fri, 13 Dec 2024 13:47:14 +0800 Subject: [PATCH] fix: lint --- CHANGELOG.md | 4 ++-- README-zh_CN.md | 2 +- README.md | 2 +- config/changelog/CHANGELOG.md | 4 ++-- config/changelog/src/index.ts | 2 +- config/lint-config/CHANGELOG.md | 4 ++-- docs/README-zh_CN.md | 2 +- docs/README.md | 2 +- frontend/CHANGELOG.md | 4 ++-- frontend/antd/CHANGELOG.md | 4 ++-- frontend/base/CHANGELOG.md | 4 ++-- frontend/legacy/Chatbot/CHANGELOG.md | 4 ++-- frontend/legacy/Flow/CHANGELOG.md | 4 ++-- frontend/legacy/Lifecycle/CHANGELOG.md | 4 ++-- frontend/legacy/Markdown/CHANGELOG.md | 4 ++-- frontend/legacy/MultimodalInput/CHANGELOG.md | 4 ++-- frontend/legacy/WaterfallGallery/CHANGELOG.md | 4 ++-- frontend/legacy/compiled/CHANGELOG.md | 4 ++-- 18 files changed, 31 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f91facde..be4670a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -121,4 +121,4 @@ ### Features - [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! -- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/README-zh_CN.md b/README-zh_CN.md index 3455a471..bdae6d0b 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -16,7 +16,7 @@ 中文  |  English  |  日本語
-`modelscope_studio`是一个基于 Gradio 的三方组件库,为开发者提供搭建更定制化的界面搭建能力和更丰富的组件使用形式。 +`modelscope_studio`是一个基于 Gradio 的三方组件库,为开发者提供更定制化的界面搭建能力和更丰富的组件使用形式。 目前支持的 UI 库: diff --git a/README.md b/README.md index f1b9f2fd..243bd2cd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Currently supported UI libraries: ## When to Use -Compared to Gradio's own components, `modelscope_studio` focuses more on page layout and component flexibility. If you want to build a more beautiful user interface, we highly recommend using `modelscope_studio`. +Compared to the original components of Gradio, `modelscope_studio` focuses more on page layout and component flexibility. If you want to build a more beautiful user interface, we highly recommend using `modelscope_studio`. However, when your application needs Gradio to handle more built-in data on the Python side, the components of `modelscope_studio` may not be the best choice, but don't worry, it integrates well with existing Gradio components, you can still use `modelscope_studio` to optimize your application. diff --git a/config/changelog/CHANGELOG.md b/config/changelog/CHANGELOG.md index 358c78d7..8b4e994a 100644 --- a/config/changelog/CHANGELOG.md +++ b/config/changelog/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -100,4 +100,4 @@ No significant changes to this package were made in this release. ## 0.2.0 -No significant changes to this package were made in this release. \ No newline at end of file +No significant changes to this package were made in this release. diff --git a/config/changelog/src/index.ts b/config/changelog/src/index.ts index a5b0e2f2..a4ea60bf 100644 --- a/config/changelog/src/index.ts +++ b/config/changelog/src/index.ts @@ -148,7 +148,7 @@ const changelogFunctions: ChangelogFunctions = { .join(' ') .trim(); - const suffix = users === null ? '' : ` Thanks ${users}!`; + const suffix = users === null ? '' : `Thanks ${users}!`; let lines: ChangesetMetaCollection = { _handled: [], diff --git a/config/lint-config/CHANGELOG.md b/config/lint-config/CHANGELOG.md index 7da669ea..ae29280b 100644 --- a/config/lint-config/CHANGELOG.md +++ b/config/lint-config/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -100,4 +100,4 @@ No significant changes to this package were made in this release. ## 0.2.0 -No significant changes to this package were made in this release. \ No newline at end of file +No significant changes to this package were made in this release. diff --git a/docs/README-zh_CN.md b/docs/README-zh_CN.md index d751679f..ff3018c3 100644 --- a/docs/README-zh_CN.md +++ b/docs/README-zh_CN.md @@ -11,7 +11,7 @@GitHub | 🤖 ModelScope Studio | 🤗 Hugging Face Space -`modelscope_studio`是一个基于 Gradio 的三方组件库,为开发者提供搭建更定制化的界面搭建能力和更丰富的组件使用形式。 +`modelscope_studio`是一个基于 Gradio 的三方组件库,为开发者提供更定制化的界面搭建能力和更丰富的组件使用形式。 目前支持的 UI 库: diff --git a/docs/README.md b/docs/README.md index a039a8c1..e89bfff2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -36,7 +36,7 @@ Currently supported UI libraries: ## When to Use -Compared to Gradio's own components, `modelscope_studio` focuses more on page layout and component flexibility. If you want to build a more beautiful user interface, we highly recommend using `modelscope_studio`. +Compared to the original components of Gradio, `modelscope_studio` focuses more on page layout and component flexibility. If you want to build a more beautiful user interface, we highly recommend using `modelscope_studio`. However, when your application needs Gradio to handle more built-in data on the Python side, the components of `modelscope_studio` may not be the best choice, but don't worry, it integrates well with existing Gradio components, you can still use `modelscope_studio` to optimize your application. diff --git a/frontend/CHANGELOG.md b/frontend/CHANGELOG.md index f04dc1b8..7bafb1f4 100644 --- a/frontend/CHANGELOG.md +++ b/frontend/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -76,4 +76,4 @@ No significant changes to this package were made in this release. ### Features -- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/antd/CHANGELOG.md b/frontend/antd/CHANGELOG.md index 8ccddc9a..db04dca2 100644 --- a/frontend/antd/CHANGELOG.md +++ b/frontend/antd/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -58,4 +58,4 @@ ### Features -- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/base/CHANGELOG.md b/frontend/base/CHANGELOG.md index d3dc6ee0..d6a41564 100644 --- a/frontend/base/CHANGELOG.md +++ b/frontend/base/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -56,4 +56,4 @@ No significant changes to this package were made in this release. ### Features -- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [`4a46970`](https://github.com/modelscope/modelscope-studio/commit/4a46970007452af606abe02cdfa54a4959b2f3db) - integrate ant design. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/legacy/Chatbot/CHANGELOG.md b/frontend/legacy/Chatbot/CHANGELOG.md index 942780cf..63b8e494 100644 --- a/frontend/legacy/Chatbot/CHANGELOG.md +++ b/frontend/legacy/Chatbot/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -120,4 +120,4 @@ No significant changes to this package were made in this release. ### Features -- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/legacy/Flow/CHANGELOG.md b/frontend/legacy/Flow/CHANGELOG.md index 7d04bb40..11ec6c8f 100644 --- a/frontend/legacy/Flow/CHANGELOG.md +++ b/frontend/legacy/Flow/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -126,4 +126,4 @@ No significant changes to this package were made in this release. ### Features -- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`96e1682`](https://github.com/modelscope/modelscope-studio/commit/96e1682b7cb63907aafba06afb820f55d7df8ff0) - add Flow component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/legacy/Lifecycle/CHANGELOG.md b/frontend/legacy/Lifecycle/CHANGELOG.md index 106a4794..d6803944 100644 --- a/frontend/legacy/Lifecycle/CHANGELOG.md +++ b/frontend/legacy/Lifecycle/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -74,4 +74,4 @@ No significant changes to this package were made in this release. ### Misc Changes -- [#24](https://github.com/modelscope/modelscope-studio/pull/24) [`1b01a0b`](https://github.com/modelscope/modelscope-studio/commit/1b01a0b2e551d6afa26a9d8e6d34c2af2b92c57c) - add Lifecycle component. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [#24](https://github.com/modelscope/modelscope-studio/pull/24) [`1b01a0b`](https://github.com/modelscope/modelscope-studio/commit/1b01a0b2e551d6afa26a9d8e6d34c2af2b92c57c) - add Lifecycle component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/legacy/Markdown/CHANGELOG.md b/frontend/legacy/Markdown/CHANGELOG.md index af0dc09e..e559dc17 100644 --- a/frontend/legacy/Markdown/CHANGELOG.md +++ b/frontend/legacy/Markdown/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -126,4 +126,4 @@ No significant changes to this package were made in this release. ### Features -- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! \ No newline at end of file +- [#16](https://github.com/modelscope/modelscope-studio/pull/16) [`d1829d3`](https://github.com/modelscope/modelscope-studio/commit/d1829d34dd0bce8834d2e257b612d79705e57d6d) - update the timing of onMount call and new onUpdate lifecycle of custom component. Thanks [@Col0ring](https://github.com/Col0ring)! diff --git a/frontend/legacy/MultimodalInput/CHANGELOG.md b/frontend/legacy/MultimodalInput/CHANGELOG.md index aa4d0b57..7ed1db9c 100644 --- a/frontend/legacy/MultimodalInput/CHANGELOG.md +++ b/frontend/legacy/MultimodalInput/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -131,4 +131,4 @@ No significant changes to this package were made in this release. ## 0.2.0 -No significant changes to this package were made in this release. \ No newline at end of file +No significant changes to this package were made in this release. diff --git a/frontend/legacy/WaterfallGallery/CHANGELOG.md b/frontend/legacy/WaterfallGallery/CHANGELOG.md index d12d5721..09b9a3d3 100644 --- a/frontend/legacy/WaterfallGallery/CHANGELOG.md +++ b/frontend/legacy/WaterfallGallery/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -90,4 +90,4 @@ No significant changes to this package were made in this release. ## 0.2.0 -No significant changes to this package were made in this release. \ No newline at end of file +No significant changes to this package were made in this release. diff --git a/frontend/legacy/compiled/CHANGELOG.md b/frontend/legacy/compiled/CHANGELOG.md index e17ba04d..e3728b95 100644 --- a/frontend/legacy/compiled/CHANGELOG.md +++ b/frontend/legacy/compiled/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! +- [`e7fa278`](https://github.com/modelscope/modelscope-studio/commit/e7fa2782af83a7e78cddb700cd8d5e63ad62342f) - bugfix of remaining components. Thanks [@Col0ring](https://github.com/Col0ring)! ## 1.0.0-beta.8 @@ -106,4 +106,4 @@ No significant changes to this package were made in this release. ## 0.2.0 -No significant changes to this package were made in this release. \ No newline at end of file +No significant changes to this package were made in this release.