add english transcriptions tests
This commit is contained in:
parent
88a17d528b
commit
4764b4cb6e
4 changed files with 323 additions and 10 deletions
|
|
@ -136,17 +136,8 @@ with open(tmp_path, "wb") as f:
|
|||
|
||||
**Шаг 2 — Запустить recognition.py**
|
||||
|
||||
Через subprocess (рекомендуется):
|
||||
```bash
|
||||
python3 ~/.zeroclaw/recognition.py <tmp_path> --output json
|
||||
```
|
||||
|
||||
Через прямой импорт:
|
||||
```python
|
||||
import sys
|
||||
sys.path.insert(0, os.path.expanduser("~/.zeroclaw"))
|
||||
from recognition import process_audio
|
||||
transcript, answers = process_audio(tmp_path, model_size="medium", verbose=False)
|
||||
python3 ~/.zeroclaw/workspace/skills/ege-checker/recognition.py <tmp_path> --output transcript
|
||||
```
|
||||
|
||||
**Шаг 3 — Удалить временный файл**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue