update requirements.txt
This commit is contained in:
2
demo2.py
2
demo2.py
@ -3,7 +3,7 @@ from model import FunASRNano
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
|
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
|
||||||
m, kwargs = FunASRNano.from_pretrained(model=model_dir, device="cpu")
|
m, kwargs = FunASRNano.from_pretrained(model=model_dir, device="cuda:0")
|
||||||
m.eval()
|
m.eval()
|
||||||
|
|
||||||
wav_path = f"{kwargs['model_path']}/example/zh.mp3"
|
wav_path = f"{kwargs['model_path']}/example/zh.mp3"
|
||||||
|
|||||||
@ -1,2 +1,4 @@
|
|||||||
|
torch
|
||||||
|
torchaudio
|
||||||
|
transformers
|
||||||
funasr>=1.2.7
|
funasr>=1.2.7
|
||||||
openai-whisper>=20250625
|
|
||||||
|
|||||||
Reference in New Issue
Block a user