mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-05 18:09:24 +08:00
fix requirements for mac
This commit is contained in:
@@ -15,7 +15,8 @@ matplotlib==3.7.5
|
|||||||
modelscope==1.15.0
|
modelscope==1.15.0
|
||||||
networkx==3.1
|
networkx==3.1
|
||||||
omegaconf==2.3.0
|
omegaconf==2.3.0
|
||||||
onnxruntime-gpu==1.16.0
|
onnxruntime-gpu==1.16.0; sys_platform == 'linux'
|
||||||
|
onnxruntime==1.16.0; sys_platform == 'darwin' or sys_platform == 'windows'
|
||||||
openai-whisper==20231117
|
openai-whisper==20231117
|
||||||
protobuf==4.25
|
protobuf==4.25
|
||||||
pydantic==2.7.0
|
pydantic==2.7.0
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
sys.path.append('{}/../..'.format(ROOT_DIR))
|
sys.path.append('{}/../..'.format(ROOT_DIR))
|
||||||
sys.path.append('{}/../../third_party/AcademiCodec'.format(ROOT_DIR))
|
|
||||||
sys.path.append('{}/../../third_party/Matcha-TTS'.format(ROOT_DIR))
|
sys.path.append('{}/../../third_party/Matcha-TTS'.format(ROOT_DIR))
|
||||||
from concurrent import futures
|
from concurrent import futures
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
1
webui.py
1
webui.py
@@ -14,7 +14,6 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
sys.path.append('{}/third_party/AcademiCodec'.format(ROOT_DIR))
|
|
||||||
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
sys.path.append('{}/third_party/Matcha-TTS'.format(ROOT_DIR))
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
Reference in New Issue
Block a user