Spaces:
Runtime error
Runtime error
marigold334
commited on
Commit
โข
f9f0b36
1
Parent(s):
d6b3450
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ class TTS:
|
|
30 |
self.flowgenerator.decoder.skip() if model_variant != '์ ์ทจํ ํ์ฐ' else None
|
31 |
self.flowgenerator.eval()
|
32 |
if model_variant == '๊ฐ๊ธฐ๊ฑธ๋ฆฐ ์์':
|
33 |
-
last_chpt2 = './log/1038_eunsik_01/
|
34 |
elif model_variant == 'KSS':
|
35 |
last_chpt2 = './log/KSS/HiFi_GAN_00135000.pt'
|
36 |
elif model_variant == '์ ์ทจํ ํ์ฐ':
|
@@ -97,7 +97,7 @@ with col1:
|
|
97 |
value = "๋ฐฅ์ ๋จน๊ณ ๋ค๋
?",
|
98 |
)
|
99 |
with col2:
|
100 |
-
model_variant = st.selectbox("๋ชฉ์๋ฆฌ ์ ํํด์ฃผ์ธ์", options = ["KSS", "๊ฐ๊ธฐ๊ฑธ๋ฆฐ ์์", "์ ์ทจํ ํ์ฐ"], index =
|
101 |
|
102 |
button_change = st.button("Change Vocie")
|
103 |
if button_change == True:
|
|
|
30 |
self.flowgenerator.decoder.skip() if model_variant != '์ ์ทจํ ํ์ฐ' else None
|
31 |
self.flowgenerator.eval()
|
32 |
if model_variant == '๊ฐ๊ธฐ๊ฑธ๋ฆฐ ์์':
|
33 |
+
last_chpt2 = './log/1038_eunsik_01/HiFi_GAN_00664000.pt'
|
34 |
elif model_variant == 'KSS':
|
35 |
last_chpt2 = './log/KSS/HiFi_GAN_00135000.pt'
|
36 |
elif model_variant == '์ ์ทจํ ํ์ฐ':
|
|
|
97 |
value = "๋ฐฅ์ ๋จน๊ณ ๋ค๋
?",
|
98 |
)
|
99 |
with col2:
|
100 |
+
model_variant = st.selectbox("๋ชฉ์๋ฆฌ ์ ํํด์ฃผ์ธ์", options = ["KSS", "๊ฐ๊ธฐ๊ฑธ๋ฆฐ ์์", "์ ์ทจํ ํ์ฐ"], index = 2)
|
101 |
|
102 |
button_change = st.button("Change Vocie")
|
103 |
if button_change == True:
|