Update app.py
Browse files
app.py
CHANGED
@@ -58,19 +58,19 @@ def random_generate(txt, index, hps, net_g, random_emotion_root):
|
|
58 |
def charaterRoot(name):
|
59 |
global random_emotion_root
|
60 |
if name == '九条都':
|
61 |
-
random_emotion_root = "
|
62 |
index = 0
|
63 |
elif name == '新海天':
|
64 |
-
random_emotion_root = "
|
65 |
index = 1
|
66 |
elif name == '结城希亚':
|
67 |
-
random_emotion_root = "
|
68 |
index = 2
|
69 |
elif name == '蕾娜':
|
70 |
-
random_emotion_root = "
|
71 |
index = 3
|
72 |
elif name == '索菲':
|
73 |
-
random_emotion_root = "
|
74 |
index = 4
|
75 |
return random_emotion_root, index
|
76 |
|
|
|
58 |
def charaterRoot(name):
|
59 |
global random_emotion_root
|
60 |
if name == '九条都':
|
61 |
+
random_emotion_root = "9nineEmo/my"
|
62 |
index = 0
|
63 |
elif name == '新海天':
|
64 |
+
random_emotion_root = "9nineEmo/sr"
|
65 |
index = 1
|
66 |
elif name == '结城希亚':
|
67 |
+
random_emotion_root = "9nineEmo/na"
|
68 |
index = 2
|
69 |
elif name == '蕾娜':
|
70 |
+
random_emotion_root = "9nineEmo/gt"
|
71 |
index = 3
|
72 |
elif name == '索菲':
|
73 |
+
random_emotion_root = "9nineEmo/sf"
|
74 |
index = 4
|
75 |
return random_emotion_root, index
|
76 |
|