From 18e7e5768b1ec6e5f1abc574a4b0eedba7eecad2 Mon Sep 17 00:00:00 2001 From: Wenl4ng <15861868579@163.com> Date: Sat, 8 Feb 2025 10:51:56 +0800 Subject: [PATCH] fix_pypi_doc --- README.md | 6 +++--- README_en.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e468b6e..324c33c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ openMind Hub Client可以帮助您在不离开开发环境的情况下与社区 ## 安装 -关于openMind Hub Client的安装步骤,推荐用户参考[《安装》](./docs/zh/install.md)文档,以确保顺利并正确地完成安装过程。 +关于openMind Hub Client的安装步骤,推荐用户参考[《安装》](https://modelers.cn/docs/zh/openmind-hub-client/install.html)文档,以确保顺利并正确地完成安装过程。 ## 下载文件 @@ -18,7 +18,7 @@ from openmind_hub import om_hub_download om_hub_download(repo_id="PyTorch-NPU/t5_small", filename="config.json") ``` -详见[《下载指南》](./docs/zh/basic_tutorial/download.md)。 +详见[《下载指南》](https://modelers.cn/docs/zh/openmind-hub-client/basic_tutorial/download.html)。 ## 访问令牌 @@ -41,7 +41,7 @@ upload_folder( + `repo_id`:文件要上传到的仓库,必选。 + `folder_path`:要上传目录的绝对路径或相对路径,上传的内容不包含该目录本身,必选。支持字符串或Path类型,如:`"./folder"`或`Path("./folder")`。 -详见[《上传文件》](./docs/zh/basic_tutorial/upload.md)。 +详见[《上传文件》](https://modelers.cn/docs/zh/openmind-hub-client/basic_tutorial/upload.html)。 ## 贡献 diff --git a/README_en.md b/README_en.md index fcdc649..5e0c61d 100644 --- a/README_en.md +++ b/README_en.md @@ -6,7 +6,7 @@ The openMind Hub Client helps you interact with Modelers without leaving the dev ## Installation -For details about how to install the openMind Hub Client, see [openMind Hub Client Installation](./docs/en/install.md). +For details about how to install the openMind Hub Client, see [openMind Hub Client Installation](https://modelers.cn/docs/en/openmind-hub-client/install.html). ## File Download @@ -18,7 +18,7 @@ from openmind_hub import om_hub_download om_hub_download(repo_id="PyTorch-NPU/t5_small", filename="config.json") ``` -For details, see [Downloading Files](./docs/en/basic_tutorial/download.md). +For details, see [Downloading Files](https://modelers.cn/docs/en/openmind-hub-client/basic_tutorial/download.html). ## Access Token @@ -41,7 +41,7 @@ upload_folder( + `repo_id` (required): repository to which files are uploaded. + `folder_path` (required): path of the directory to be uploaded. The content to be uploaded does not contain the directory itself. Character string or the Path type is supported, for example, `"./folder"` or `Path("./folder")`. -For details, see [Uploading Files](./docs/en/basic_tutorial/upload.md). +For details, see [Uploading Files](https://modelers.cn/docs/en/openmind-hub-client/basic_tutorial/upload.html). ## Contribution Guide -- Gitee