Spaces:
Running
Running
zhzluke96
commited on
Commit
·
21f455c
1
Parent(s):
374f426
update
Browse files
modules/devices/devices.py
CHANGED
|
@@ -111,7 +111,7 @@ def torch_gc():
|
|
| 111 |
|
| 112 |
|
| 113 |
cpu: torch.device = torch.device("cpu")
|
| 114 |
-
device: torch.device =
|
| 115 |
dtype: torch.dtype = torch.float32
|
| 116 |
dtype_dvae: torch.dtype = torch.float32
|
| 117 |
dtype_vocos: torch.dtype = torch.float32
|
|
|
|
| 111 |
|
| 112 |
|
| 113 |
cpu: torch.device = torch.device("cpu")
|
| 114 |
+
device: torch.device = None
|
| 115 |
dtype: torch.dtype = torch.float32
|
| 116 |
dtype_dvae: torch.dtype = torch.float32
|
| 117 |
dtype_vocos: torch.dtype = torch.float32
|
modules/webui/spliter_tab.py
CHANGED
|
@@ -5,10 +5,7 @@ from modules.webui.webui_utils import (
|
|
| 5 |
get_speakers,
|
| 6 |
get_styles,
|
| 7 |
split_long_text,
|
| 8 |
-
synthesize_ssml,
|
| 9 |
)
|
| 10 |
-
from modules.webui import webui_config
|
| 11 |
-
from modules.webui.examples import ssml_examples, default_ssml
|
| 12 |
|
| 13 |
|
| 14 |
def merge_dataframe_to_ssml(dataframe, spk, style, seed):
|
|
|
|
| 5 |
get_speakers,
|
| 6 |
get_styles,
|
| 7 |
split_long_text,
|
|
|
|
| 8 |
)
|
|
|
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
def merge_dataframe_to_ssml(dataframe, spk, style, seed):
|