Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,7 +199,10 @@ with bl:
|
|
| 199 |
waveform_options=gr.WaveformOptions(sample_rate=16000),
|
| 200 |
label="Lestu upp texta og vistaðu upptöku")
|
| 201 |
#with gr.Column(scale=0):
|
| 202 |
-
score_speech_button = gr.Button("⇩⇩⇩")
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
with gr.Row(equal_height=True):
|
| 205 |
with gr.Column(scale=1):
|
|
@@ -209,13 +212,11 @@ with bl:
|
|
| 209 |
blocks_info = gr.Markdown("""*This colour feedback was not calibrated by exercise/phone,
|
| 210 |
relative colours may mismatch other scores""")
|
| 211 |
|
| 212 |
-
#phone_output = gr.Markdown('')
|
| 213 |
-
plot_output = gr.Plot()
|
| 214 |
|
| 215 |
with gr.Row():
|
| 216 |
with gr.Column():
|
| 217 |
-
modeltype_info = gr.Markdown(_disp_scorertype('...'))
|
| 218 |
phone_output_keyinfo = gr.Markdown("""### Lykill: <span style='color:#26701C;'>Meira nálægt</span>, <span style='color:#E85907;'>Minna nálægt</span>, <span style='color:#BBBBBB;'>Ekki hægt að greina (of stutt hljóð)</span>, <span style='color:#88447F;'>••• Pitch</span>, <span style='color:#F49098;'>--- Energy</span>""")
|
|
|
|
| 219 |
calibrate_slider = RangeSlider(minimum=-1, maximum=1, value=(fb_lb, fb_ub), interactive=True)
|
| 220 |
cali_info=gr.Markdown("""
|
| 221 |
#### ◄ Re-calibrate scoring
|
|
|
|
| 199 |
waveform_options=gr.WaveformOptions(sample_rate=16000),
|
| 200 |
label="Lestu upp texta og vistaðu upptöku")
|
| 201 |
#with gr.Column(scale=0):
|
| 202 |
+
score_speech_button = gr.Button("⇩⇩⇩ Greina upptökuna ⇩⇩⇩")
|
| 203 |
+
|
| 204 |
+
#phone_output = gr.Markdown('')
|
| 205 |
+
plot_output = gr.Plot()
|
| 206 |
|
| 207 |
with gr.Row(equal_height=True):
|
| 208 |
with gr.Column(scale=1):
|
|
|
|
| 212 |
blocks_info = gr.Markdown("""*This colour feedback was not calibrated by exercise/phone,
|
| 213 |
relative colours may mismatch other scores""")
|
| 214 |
|
|
|
|
|
|
|
| 215 |
|
| 216 |
with gr.Row():
|
| 217 |
with gr.Column():
|
|
|
|
| 218 |
phone_output_keyinfo = gr.Markdown("""### Lykill: <span style='color:#26701C;'>Meira nálægt</span>, <span style='color:#E85907;'>Minna nálægt</span>, <span style='color:#BBBBBB;'>Ekki hægt að greina (of stutt hljóð)</span>, <span style='color:#88447F;'>••• Pitch</span>, <span style='color:#F49098;'>--- Energy</span>""")
|
| 219 |
+
modeltype_info = gr.Markdown(_disp_scorertype('...'))
|
| 220 |
calibrate_slider = RangeSlider(minimum=-1, maximum=1, value=(fb_lb, fb_ub), interactive=True)
|
| 221 |
cali_info=gr.Markdown("""
|
| 222 |
#### ◄ Re-calibrate scoring
|