Irpan
commited on
Commit
•
be00192
1
Parent(s):
93e9d4f
app
Browse files
app.py
CHANGED
@@ -20,17 +20,17 @@ with gr.Blocks() as app:
|
|
20 |
# Input Column
|
21 |
with gr.Column(scale=1):
|
22 |
with gr.Row():
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
with gr.Row():
|
35 |
example_audio = gr.Audio(label="3. Click Generate Example Pronunciation")
|
36 |
with gr.Row():
|
@@ -50,13 +50,13 @@ with gr.Blocks() as app:
|
|
50 |
with gr.Group():
|
51 |
with gr.Row():
|
52 |
transcript_ugArab_box = gr.Textbox(
|
53 |
-
label="
|
54 |
-
placeholder="
|
55 |
)
|
56 |
with gr.Row():
|
57 |
transcript_ugLatn_box = gr.Textbox(
|
58 |
-
label="
|
59 |
-
placeholder="
|
60 |
)
|
61 |
|
62 |
# Group correct and user pronunciation
|
|
|
20 |
# Input Column
|
21 |
with gr.Column(scale=1):
|
22 |
with gr.Row():
|
23 |
+
script_choice = gr.Dropdown(
|
24 |
+
choices=["Uyghur Arabic", "Uyghur Latin"],
|
25 |
+
label="1. Select Input Script",
|
26 |
+
value="Uyghur Arabic",
|
27 |
+
interactive=True
|
28 |
+
)
|
29 |
+
with gr.Row():
|
30 |
+
input_text = gr.Textbox(
|
31 |
+
label="2. Input Uyghur Text to Pronounce",
|
32 |
+
placeholder="Enter Uyghur text here...",
|
33 |
+
)
|
34 |
with gr.Row():
|
35 |
example_audio = gr.Audio(label="3. Click Generate Example Pronunciation")
|
36 |
with gr.Row():
|
|
|
50 |
with gr.Group():
|
51 |
with gr.Row():
|
52 |
transcript_ugArab_box = gr.Textbox(
|
53 |
+
label="Transcript (Uyghur Arabic)",
|
54 |
+
placeholder="ASR transcription of your audio..."
|
55 |
)
|
56 |
with gr.Row():
|
57 |
transcript_ugLatn_box = gr.Textbox(
|
58 |
+
label="Transcript (Uyghur Latin)",
|
59 |
+
placeholder="ASR transcription of your audio..."
|
60 |
)
|
61 |
|
62 |
# Group correct and user pronunciation
|