Irpan
commited on
Commit
•
c510f60
1
Parent(s):
534d3b0
app
Browse files
app.py
CHANGED
@@ -11,14 +11,14 @@ with gr.Blocks() as app:
|
|
11 |
with gr.Row():
|
12 |
script_choice = gr.Dropdown(
|
13 |
choices=["Uyghur Arabic", "Uyghur Latin"],
|
14 |
-
label="1. Select
|
15 |
value="Uyghur Arabic",
|
16 |
interactive=True
|
17 |
)
|
18 |
with gr.Group():
|
19 |
with gr.Row():
|
20 |
input_text = gr.Textbox(
|
21 |
-
label="2.
|
22 |
placeholder="Enter Uyghur text here...",
|
23 |
)
|
24 |
# Add buttons for generating short and long texts
|
@@ -27,7 +27,7 @@ with gr.Blocks() as app:
|
|
27 |
generate_long_btn = gr.Button("Generate Long Text")
|
28 |
with gr.Group():
|
29 |
with gr.Row():
|
30 |
-
example_audio = gr.Audio(label="3. (Optional)
|
31 |
with gr.Row():
|
32 |
tts_btn = gr.Button("Generate AI Pronunciation")
|
33 |
with gr.Group():
|
|
|
11 |
with gr.Row():
|
12 |
script_choice = gr.Dropdown(
|
13 |
choices=["Uyghur Arabic", "Uyghur Latin"],
|
14 |
+
label="1. Select Uyghur Script",
|
15 |
value="Uyghur Arabic",
|
16 |
interactive=True
|
17 |
)
|
18 |
with gr.Group():
|
19 |
with gr.Row():
|
20 |
input_text = gr.Textbox(
|
21 |
+
label="2. Enter Uyghur Text in Chosen Script (or Click a Button Below to Generate Text)",
|
22 |
placeholder="Enter Uyghur text here...",
|
23 |
)
|
24 |
# Add buttons for generating short and long texts
|
|
|
27 |
generate_long_btn = gr.Button("Generate Long Text")
|
28 |
with gr.Group():
|
29 |
with gr.Row():
|
30 |
+
example_audio = gr.Audio(label="3. (Optional) Generate AI Pronunciation for Text")
|
31 |
with gr.Row():
|
32 |
tts_btn = gr.Button("Generate AI Pronunciation")
|
33 |
with gr.Group():
|