diff --git a/README.md b/README.md index e468b6e843888795392b6f42668568cb96c0655d..324c33c7cbbabb74010932be881d8aefb1ee8c7b 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 fcdc6492769d8a34014b4f3d7ed066e9b7995c3a..5e0c61d9fff2ea7e47a2f0df1ed378d6c0eacaaa 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