mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-01-09 07:41:06 +08:00
* Support streaming zipformer CTC * test online zipformer2 CTC * Update doc of sherpa-onnx.cc * Add Python APIs for streaming zipformer2 ctc * Add Python API examples for streaming zipformer2 ctc * Swift API for streaming zipformer2 CTC * NodeJS API for streaming zipformer2 CTC * Kotlin API for streaming zipformer2 CTC * Golang API for streaming zipformer2 CTC * C# API for streaming zipformer2 CTC * Release v1.9.6
32 lines
484 B
Bash
Executable File
32 lines
484 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
echo "pwd: $PWD"
|
|
|
|
cd swift-api-examples
|
|
ls -lh
|
|
|
|
mkdir -p /Users/fangjun/Desktop
|
|
pushd /Users/fangjun/Desktop
|
|
wget -q https://huggingface.co/csukuangfj/test-data/resolve/main/Obama.wav
|
|
ls -lh
|
|
popd
|
|
|
|
./run-generate-subtitles.sh
|
|
|
|
ls -lh /Users/fangjun/Desktop
|
|
cat /Users/fangjun/Desktop/Obama.srt
|
|
|
|
./run-tts.sh
|
|
ls -lh
|
|
|
|
./run-decode-file.sh
|
|
rm decode-file
|
|
sed -i.bak '20d' ./decode-file.swift
|
|
./run-decode-file.sh
|
|
|
|
./run-decode-file-non-streaming.sh
|
|
|
|
ls -lh
|