From 033b60086a71e8f6e1ef47cb236f082a12ec8e63 Mon Sep 17 00:00:00 2001 From: Yi Yan Date: Tue, 12 Aug 2025 19:08:58 +0800 Subject: [PATCH] fix: model url fixed --- .github/workflows/generate-model-config.yml | 14 ++++++++------ README.md | 6 +++--- README_zh.md | 6 +++--- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/generate-model-config.yml b/.github/workflows/generate-model-config.yml index c082a0e3..7410f7fc 100644 --- a/.github/workflows/generate-model-config.yml +++ b/.github/workflows/generate-model-config.yml @@ -1,21 +1,23 @@ name: Generate Model Configuration on: + workflow_run: + workflows: ["GitHub Pages"] # Name of the gh-pages.yml workflow + types: + - completed + branches: [main] push: branches: [ main ] paths: - 'src/emd/models/**' - - 'tests/generate_model_config.py' - pull_request: - branches: [ main ] - paths: - - 'src/emd/models/**' - - 'tests/generate_model_config.py' + - docs/** workflow_dispatch: # Allow manual trigger jobs: generate-config: runs-on: ubuntu-latest + # Only run if the triggering workflow succeeded (when triggered by workflow_run) + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name != 'workflow_run' }} steps: - name: Checkout repository diff --git a/README.md b/README.md index de89b5b8..176f5b2d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## Introduction -Easy Model Deployer is a lightweight tool designed for simplify deploy **Open-Source LLMs** ([Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html)) and Custom Models on AWS. It provides **OpenAI's Completions API** and [**LangChain Interface**](https://github.com/langchain-ai/langchain). Built for developers who need reliable and scalable model serving without complex environment setup. +Easy Model Deployer is a lightweight tool designed for simplify deploy **Open-Source LLMs** ([Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models)) and Custom Models on AWS. It provides **OpenAI's Completions API** and [**LangChain Interface**](https://github.com/langchain-ai/langchain). Built for developers who need reliable and scalable model serving without complex environment setup. ![deploy](docs/images/demo-deploy.avif) @@ -47,7 +47,7 @@ Easy Model Deployer supports a wide range of models including: - **ASR Models**: Whisper variants - **Custom Models**: Support for custom Docker images -For the complete list of supported models and deployment configurations, see [Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html). +For the complete list of supported models and deployment configurations, see [Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models). ## 🔧 Get Started @@ -116,7 +116,7 @@ emd invoke ### List Supported Models -Quickly see what models are supported, this command will output all information related to deployment. (Please browse [Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html) for more information.) +Quickly see what models are supported, this command will output all information related to deployment. (Please browse [Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models) for more information.) ```bash emd list-supported-models diff --git a/README_zh.md b/README_zh.md index b29849f5..0f40322f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -23,7 +23,7 @@ ## 简介 -还在为大模型部署而头疼吗?Easy Model Deployer 让你告别复杂的环境配置,轻松将**开源大模型**([支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html))部署到 AWS 云端。 +还在为大模型部署而头疼吗?Easy Model Deployer 让你告别复杂的环境配置,轻松将**开源大模型**([支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models))部署到 AWS 云端。 无论是大语言模型、视觉模型还是自定义模型,一条命令即可搞定部署。更棒的是,部署完成后直接获得 **OpenAI 兼容 API** 和 [**LangChain 接口**](https://github.com/langchain-ai/langchain),让你的 AI 应用开发如虎添翼。 @@ -50,7 +50,7 @@ Easy Model Deployer 支持广泛的模型类型,包括: - **语音识别模型**: Whisper 变体 - **自定义模型**: 支持自定义 Docker 镜像 -完整的支持模型列表和部署配置,请参见[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html)。 +完整的支持模型列表和部署配置,请参见[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models)。 ## 🔧 快速开始 @@ -119,7 +119,7 @@ emd invoke ### 列出支持的模型 -快速查看支持哪些模型,此命令将输出与部署相关的所有信息。(更多信息请浏览[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html)。) +快速查看支持哪些模型,此命令将输出与部署相关的所有信息。(更多信息请浏览[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models)。) ```bash emd list-supported-models