Irpan
commited on
Commit
·
2dddc43
1
Parent(s):
badbaf4
app
Browse files
app.py
CHANGED
@@ -43,12 +43,12 @@ with gr.Blocks() as app:
|
|
43 |
with gr.Group():
|
44 |
with gr.Row():
|
45 |
transcript_ugArab_box = gr.Textbox(
|
46 |
-
label="Transcript (Uyghur Arabic)",
|
47 |
placeholder="ASR transcription of user audio..."
|
48 |
)
|
49 |
with gr.Row():
|
50 |
transcript_ugLatn_box = gr.Textbox(
|
51 |
-
label="Transcript (Uyghur Latin)",
|
52 |
placeholder="ASR transcription of user audio..."
|
53 |
)
|
54 |
|
@@ -67,14 +67,12 @@ with gr.Blocks() as app:
|
|
67 |
|
68 |
with gr.Group():
|
69 |
with gr.Row():
|
70 |
-
match_box = gr.
|
71 |
label="Phonetic Match",
|
72 |
-
placeholder="Matching and mismatched characters visualized here..."
|
73 |
)
|
74 |
with gr.Row():
|
75 |
score_box = gr.Textbox(
|
76 |
label="Phonetic Score",
|
77 |
-
placeholder="Your pronunciation score as a percentage..."
|
78 |
)
|
79 |
|
80 |
# Bind functions to buttons
|
|
|
43 |
with gr.Group():
|
44 |
with gr.Row():
|
45 |
transcript_ugArab_box = gr.Textbox(
|
46 |
+
label="User Transcript (Uyghur Arabic)",
|
47 |
placeholder="ASR transcription of user audio..."
|
48 |
)
|
49 |
with gr.Row():
|
50 |
transcript_ugLatn_box = gr.Textbox(
|
51 |
+
label="User Transcript (Uyghur Latin)",
|
52 |
placeholder="ASR transcription of user audio..."
|
53 |
)
|
54 |
|
|
|
67 |
|
68 |
with gr.Group():
|
69 |
with gr.Row():
|
70 |
+
match_box = gr.html(
|
71 |
label="Phonetic Match",
|
|
|
72 |
)
|
73 |
with gr.Row():
|
74 |
score_box = gr.Textbox(
|
75 |
label="Phonetic Score",
|
|
|
76 |
)
|
77 |
|
78 |
# Bind functions to buttons
|