Elesis commited on
Commit
3e11472
โ€ข
1 Parent(s): c8f6714

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from PIL import Image
10
 
11
  fs, lang = 44100, "Japanese"
12
  model= "./100epoch.pth"
13
- x = "ใ“ใ‚Œใฏใƒ†ใ‚นใƒˆใƒกใƒƒใ‚ปใƒผใ‚ธใงใ™"
14
 
15
  text2speech = Text2Speech.from_pretrained(
16
  model_file=model,
@@ -21,7 +21,7 @@ text2speech = Text2Speech.from_pretrained(
21
  )
22
  pause = np.zeros(30000, dtype=np.float32)
23
 
24
- st.title("ใŠใ—ใ‚ƒในใ‚ŠAIๅฎ‰ๅ€ๆ™‹ไธ‰ใƒกใƒผใ‚ซใƒผ")
25
  image = Image.open('abe.jpg')
26
  st.image(image)
27
  text = st.text_area(label='ใ“ใ“ใซใƒ†ใ‚ญใ‚นใƒˆใ‚’ๅ…ฅๅŠ› (Input Text)โ†“', height=100, max_chars=2048)
 
10
 
11
  fs, lang = 44100, "Japanese"
12
  model= "./100epoch.pth"
13
+ x = "JRๆฑๆ—ฅๆœฌใ‚’ใ”ๅˆฉ็”จใใ ใ•ใ„ใพใ—ใฆใ€ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™ใ€‚"
14
 
15
  text2speech = Text2Speech.from_pretrained(
16
  model_file=model,
 
21
  )
22
  pause = np.zeros(30000, dtype=np.float32)
23
 
24
+ st.title("JREast_Auto_anounce_TTS")
25
  image = Image.open('abe.jpg')
26
  st.image(image)
27
  text = st.text_area(label='ใ“ใ“ใซใƒ†ใ‚ญใ‚นใƒˆใ‚’ๅ…ฅๅŠ› (Input Text)โ†“', height=100, max_chars=2048)