Fix CI tests for Python and JNI. (#554)

This commit is contained in:
Fangjun Kuang
2024-01-27 13:01:54 +08:00
committed by GitHub
parent 7ae73e75ba
commit 44efff4e47
7 changed files with 40 additions and 20 deletions

View File

@@ -1,7 +1,14 @@
# Copyright (c) 2023 Xiaomi Corporation
import logging
import click
try:
import click
except ImportError:
print('Please run')
print(' pip install click')
print('before you continue')
raise
from pathlib import Path
from sherpa_onnx import text2token