changed examples
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ Transcripció fonètica en català
|
|
32 |
Transcipció fonètica per a diferents dialectes del català mitjançant eSpeak.
|
33 |
Phonetic transcription for different dialects of Catalan
|
34 |
using eSpeak.
|
35 |
-
|
36 |
"""
|
37 |
article= ""
|
38 |
|
@@ -41,7 +41,7 @@ iface = gr.Interface(
|
|
41 |
inputs=[
|
42 |
gr.Textbox(
|
43 |
label="Text",
|
44 |
-
value="
|
45 |
),
|
46 |
gr.Dropdown(label="Dialect", choices=["Central", "Valencian", "North-West"],
|
47 |
value="Central",
|
@@ -58,10 +58,10 @@ iface = gr.Interface(
|
|
58 |
layout="vertical",
|
59 |
live=False,
|
60 |
examples=[
|
61 |
-
["
|
62 |
-
["
|
63 |
-
["
|
64 |
-
["
|
65 |
]
|
66 |
)
|
67 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
32 |
Transcipció fonètica per a diferents dialectes del català mitjançant eSpeak.
|
33 |
Phonetic transcription for different dialects of Catalan
|
34 |
using eSpeak.
|
35 |
+
repo: https://github.com/projecte-aina/espeak-ng/tree/dev-ca
|
36 |
"""
|
37 |
article= ""
|
38 |
|
|
|
41 |
inputs=[
|
42 |
gr.Textbox(
|
43 |
label="Text",
|
44 |
+
value="Les coses importants són les que no ho semblen.",
|
45 |
),
|
46 |
gr.Dropdown(label="Dialect", choices=["Central", "Valencian", "North-West"],
|
47 |
value="Central",
|
|
|
58 |
layout="vertical",
|
59 |
live=False,
|
60 |
examples=[
|
61 |
+
["Les coses importants són les que no ho semblen.", "ca", "ca"],
|
62 |
+
["Les coses importants són les que no ho semblen.", "ca-va", "ca-va"],
|
63 |
+
["Les coses importants són les que no ho semblen.", "ca-nw", "ca-nw"],
|
64 |
+
["Ses coses importants són ses que no ho semblen.", "ca-ba", "ca-ba"]
|
65 |
]
|
66 |
)
|
67 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|