Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -582,7 +582,7 @@ with demo:
|
|
| 582 |
|
| 583 |
with gr.Row():
|
| 584 |
audio_btn = gr.Button('Speak')
|
| 585 |
-
clear = gr.Button("
|
| 586 |
|
| 587 |
audio_btn.click(fn=action, inputs=audio_btn, outputs=audio_btn) \
|
| 588 |
.then(fn=check_btn, inputs=audio_btn) \
|
|
@@ -592,7 +592,7 @@ with demo:
|
|
| 592 |
|
| 593 |
########################## Transcription ##########################
|
| 594 |
with gr.Row():
|
| 595 |
-
transcribe_btn = gr.Button("Transcrire l'audio")
|
| 596 |
transcription_output = gr.Textbox(value = "Hello my name is Othmane Lkhalidi , I am a 22 years old data science student from Paris.",label="Transcription", lines=5)
|
| 597 |
|
| 598 |
transcribe_btn.click(
|
|
|
|
| 582 |
|
| 583 |
with gr.Row():
|
| 584 |
audio_btn = gr.Button('Speak')
|
| 585 |
+
clear = gr.Button("Transcribe")
|
| 586 |
|
| 587 |
audio_btn.click(fn=action, inputs=audio_btn, outputs=audio_btn) \
|
| 588 |
.then(fn=check_btn, inputs=audio_btn) \
|
|
|
|
| 592 |
|
| 593 |
########################## Transcription ##########################
|
| 594 |
with gr.Row():
|
| 595 |
+
#transcribe_btn = gr.Button("Transcrire l'audio")
|
| 596 |
transcription_output = gr.Textbox(value = "Hello my name is Othmane Lkhalidi , I am a 22 years old data science student from Paris.",label="Transcription", lines=5)
|
| 597 |
|
| 598 |
transcribe_btn.click(
|