Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/release-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ jobs:
run: |
test -f models.yaml
cp models.yaml models-index.yaml
# WO87: expand the renames map into alias entries — old ids
# resolve to the renamed entry's artifact, forever.
python3 - <<'PY'
import yaml
idx = yaml.safe_load(open("models-index.yaml"))
ren = idx.pop("renames", {})
models = idx["models"]
for old, new in ren.items():
if new in models:
e = dict(models[new]); e["alias_for"] = new
models[old] = e
yaml.safe_dump(idx, open("models-index.yaml", "w"), allow_unicode=True, sort_keys=True)
PY
shasum -a 256 models-index.yaml | awk '{print $1 " models-index.yaml"}' > models-index.yaml.sha256
echo "--- models-index.yaml.sha256 ---"
cat models-index.yaml.sha256
Expand Down
1 change: 1 addition & 0 deletions models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ models:
tha-phonemic-1.0:
task: g2p
precision: fp32
filename: tha-phonemic-1.0.zip
url: https://github.com/interscript/interscript-models/releases/download/tha-phonemic-1.0/tha-phonemic-1.0.zip
sha256: 534bc68960517da36c38d9ef79f1178722751e36e72a3313c0e21b6f66e95198
size: 1111939721
Expand Down
Loading