Spaces:
Runtime error
Runtime error
dongyh20
commited on
Commit
·
128ae5c
1
Parent(s):
4ada5ba
update space
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ install_cuda_toolkit()
|
|
| 47 |
subprocess.run('pip install flash-attn==2.5.9.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "True"}, shell=True)
|
| 48 |
|
| 49 |
import sys
|
| 50 |
-
sys.path.append('./ola/CosyVoice/')
|
| 51 |
from ola.conversation import conv_templates, SeparatorStyle
|
| 52 |
from ola.model.builder import load_pretrained_model
|
| 53 |
from ola.utils import disable_torch_init
|
|
|
|
| 47 |
subprocess.run('pip install flash-attn==2.5.9.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "True"}, shell=True)
|
| 48 |
|
| 49 |
import sys
|
| 50 |
+
sys.path.append('./ola/CosyVoice-main/')
|
| 51 |
from ola.conversation import conv_templates, SeparatorStyle
|
| 52 |
from ola.model.builder import load_pretrained_model
|
| 53 |
from ola.utils import disable_torch_init
|