marigold334 commited on
Commit
f9f0b36
โ€ข
1 Parent(s): d6b3450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/HiFI_GAN_00664000.pt'
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 = 1)
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: