Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,14 +190,14 @@ with bl:
|
|
| 190 |
|
| 191 |
current_prompt = gr.State((None,None))
|
| 192 |
with gr.Row(equal_height=True):
|
| 193 |
-
new_prompt_button = gr.Button("🔃 Endurnýja
|
| 194 |
-
prompt_text = gr.Textbox(label="
|
| 195 |
|
| 196 |
#with gr.Row(equal_height=True):
|
| 197 |
#with gr.Column():
|
| 198 |
-
user_speech = gr.Audio(sources=["
|
| 199 |
waveform_options=gr.WaveformOptions(sample_rate=16000),
|
| 200 |
-
label="Lestu
|
| 201 |
#with gr.Column(scale=0):
|
| 202 |
score_speech_button = gr.Button("⇩⇩⇩")
|
| 203 |
|
|
|
|
| 190 |
|
| 191 |
current_prompt = gr.State((None,None))
|
| 192 |
with gr.Row(equal_height=True):
|
| 193 |
+
new_prompt_button = gr.Button("🔃 Endurnýja texta ⮕",scale=0)
|
| 194 |
+
prompt_text = gr.Textbox(label="Lestu eftirfarandi texta:", value="[--- stuttur æfingatexti ---]", interactive=False)
|
| 195 |
|
| 196 |
#with gr.Row(equal_height=True):
|
| 197 |
#with gr.Column():
|
| 198 |
+
user_speech = gr.Audio(sources=["microphone"],type="filepath",
|
| 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 |
|