zhzluke96
commited on
Commit
•
c4c6bff
1
Parent(s):
6ecb8c2
update
Browse files
modules/webui/spliter_tab.py
CHANGED
@@ -6,8 +6,11 @@ from modules.webui.webui_utils import (
|
|
6 |
get_styles,
|
7 |
split_long_text,
|
8 |
)
|
|
|
9 |
|
10 |
|
|
|
|
|
11 |
def merge_dataframe_to_ssml(dataframe, spk, style, seed):
|
12 |
if style == "*auto":
|
13 |
style = None
|
|
|
6 |
get_styles,
|
7 |
split_long_text,
|
8 |
)
|
9 |
+
from modules.hf import spaces
|
10 |
|
11 |
|
12 |
+
@torch.inference_mode()
|
13 |
+
@spaces.GPU
|
14 |
def merge_dataframe_to_ssml(dataframe, spk, style, seed):
|
15 |
if style == "*auto":
|
16 |
style = None
|