Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
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)
|