Skip to content

Commit 5018fba

Browse files
authored
fix: model url fixed (#178)
1 parent eee95b8 commit 5018fba

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/generate-model-config.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
name: Generate Model Configuration
22

33
on:
4+
workflow_run:
5+
workflows: ["GitHub Pages"] # Name of the gh-pages.yml workflow
6+
types:
7+
- completed
8+
branches: [main]
49
push:
510
branches: [ main ]
611
paths:
712
- 'src/emd/models/**'
8-
- 'tests/generate_model_config.py'
9-
pull_request:
10-
branches: [ main ]
11-
paths:
12-
- 'src/emd/models/**'
13-
- 'tests/generate_model_config.py'
13+
- docs/**
1414
workflow_dispatch: # Allow manual trigger
1515

1616
jobs:
1717
generate-config:
1818
runs-on: ubuntu-latest
19+
# Only run if the triggering workflow succeeded (when triggered by workflow_run)
20+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name != 'workflow_run' }}
1921

2022
steps:
2123
- name: Checkout repository

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
## Introduction
2626

27-
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.
27+
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.
2828

2929
![deploy](docs/images/demo-deploy.avif)
3030

@@ -47,7 +47,7 @@ Easy Model Deployer supports a wide range of models including:
4747
- **ASR Models**: Whisper variants
4848
- **Custom Models**: Support for custom Docker images
4949

50-
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).
50+
For the complete list of supported models and deployment configurations, see [Supported Models](https://aws-samples.github.io/easy-model-deployer/en/supported_models).
5151

5252
## 🔧 Get Started
5353

@@ -116,7 +116,7 @@ emd invoke <ModelId>
116116
117117
### List Supported Models
118118

119-
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.)
119+
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.)
120120

121121
```bash
122122
emd list-supported-models

README_zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## 简介
2525

26-
还在为大模型部署而头疼吗?Easy Model Deployer 让你告别复杂的环境配置,轻松将**开源大模型**[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html))部署到 AWS 云端。
26+
还在为大模型部署而头疼吗?Easy Model Deployer 让你告别复杂的环境配置,轻松将**开源大模型**[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models))部署到 AWS 云端。
2727

2828
无论是大语言模型、视觉模型还是自定义模型,一条命令即可搞定部署。更棒的是,部署完成后直接获得 **OpenAI 兼容 API**[**LangChain 接口**](https://github.com/langchain-ai/langchain),让你的 AI 应用开发如虎添翼。
2929

@@ -50,7 +50,7 @@ Easy Model Deployer 支持广泛的模型类型,包括:
5050
- **语音识别模型**: Whisper 变体
5151
- **自定义模型**: 支持自定义 Docker 镜像
5252

53-
完整的支持模型列表和部署配置,请参见[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html)
53+
完整的支持模型列表和部署配置,请参见[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models)
5454

5555
## 🔧 快速开始
5656

@@ -119,7 +119,7 @@ emd invoke <ModelId>
119119
120120
### 列出支持的模型
121121

122-
快速查看支持哪些模型,此命令将输出与部署相关的所有信息。(更多信息请浏览[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models.html)。)
122+
快速查看支持哪些模型,此命令将输出与部署相关的所有信息。(更多信息请浏览[支持的模型](https://aws-samples.github.io/easy-model-deployer/en/supported_models)。)
123123

124124
```bash
125125
emd list-supported-models

0 commit comments

Comments
 (0)