Spaces:
Runtime error
Runtime error
glide-the
commited on
Commit
·
5baa66d
1
Parent(s):
61590eb
Add large files to Git LFS
Browse files
speakers/processors/bark_to_voice.py
CHANGED
|
@@ -97,13 +97,13 @@ class BarkToVoice(BaseProcessor):
|
|
| 97 |
coarse_model_path = cfg.get("coarse_model_path", "")
|
| 98 |
fine_model_path = cfg.get("fine_model_path", "")
|
| 99 |
|
| 100 |
-
return cls(tokenizer_path=os.path.join(registry.get_path("
|
| 101 |
tokenizer_path),
|
| 102 |
-
text_path=os.path.join(registry.get_path("
|
| 103 |
text_model_path),
|
| 104 |
-
coarse_path=os.path.join(registry.get_path("
|
| 105 |
coarse_model_path),
|
| 106 |
-
fine_path=os.path.join(registry.get_path("
|
| 107 |
fine_model_path)
|
| 108 |
)
|
| 109 |
|
|
|
|
| 97 |
coarse_model_path = cfg.get("coarse_model_path", "")
|
| 98 |
fine_model_path = cfg.get("fine_model_path", "")
|
| 99 |
|
| 100 |
+
return cls(tokenizer_path=os.path.join(registry.get_path("bark_library_root"),
|
| 101 |
tokenizer_path),
|
| 102 |
+
text_path=os.path.join(registry.get_path("bark_library_root"),
|
| 103 |
text_model_path),
|
| 104 |
+
coarse_path=os.path.join(registry.get_path("bark_library_root"),
|
| 105 |
coarse_model_path),
|
| 106 |
+
fine_path=os.path.join(registry.get_path("bark_library_root"),
|
| 107 |
fine_model_path)
|
| 108 |
)
|
| 109 |
|