Skip to content

Commit b5f3a86

Browse files
authored
Merge pull request #69 from zephyrie/master
Update Model Zoo to integrate with HF Model
2 parents 07f3f61 + 15b1e98 commit b5f3a86

File tree

9 files changed

+1896
-424
lines changed

9 files changed

+1896
-424
lines changed

.github/workflows/deploy.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- master
89

910
# Add permissions to allow deployment
1011
permissions:
@@ -20,7 +21,7 @@ jobs:
2021
- name: Checkout Model Zoo
2122
uses: actions/checkout@v3
2223
with:
23-
repository: Project-MONAI/model-zoo
24+
repository: project-monai/model-zoo
2425
path: scripts/model-zoo
2526

2627
- name: Setup Python and Node
@@ -44,8 +45,8 @@ jobs:
4445
mkdir -p dist
4546
mkdir -p dist/assets/css
4647
47-
# Process model data
48-
python scripts/fetch.py
48+
# Process model data (both model-zoo and HF models)
49+
python scripts/process_models.py
4950
5051
# Build files
5152
npm run build
@@ -68,4 +69,4 @@ jobs:
6869
with:
6970
folder: dist
7071
branch: gh-pages
71-
clean: true # Automatically remove deleted files from the deployment
72+
clean: true # Automatically remove deleted files from the deployment

.github/workflows/fetch.py

-190
This file was deleted.

.github/workflows/fetch.yml

-58
This file was deleted.

model_data.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)