Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ def asr_transcript(input_file):
|
|
59 |
|
60 |
|
61 |
gr.Interface(asr_transcript,
|
62 |
-
inputs = gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="
|
63 |
-
outputs = gr.outputs.Textbox(label="
|
64 |
title="🎙️ Parlez, on vous écoute !",
|
65 |
description = "Enregistrez un audio ou utilisez les examples pour interagir avec notre dernier modèle.",
|
66 |
examples = [["wav/1.wav"], ["wav/2.wav"], ["wav/3.wav"], ["wav/4.wav"], ["wav/5.wav"]], theme="grass").launch()
|
|
|
59 |
|
60 |
|
61 |
gr.Interface(asr_transcript,
|
62 |
+
inputs = gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Démarrer l'enregistrement"),
|
63 |
+
outputs = gr.outputs.Textbox(label="Transcription"),
|
64 |
title="🎙️ Parlez, on vous écoute !",
|
65 |
description = "Enregistrez un audio ou utilisez les examples pour interagir avec notre dernier modèle.",
|
66 |
examples = [["wav/1.wav"], ["wav/2.wav"], ["wav/3.wav"], ["wav/4.wav"], ["wav/5.wav"]], theme="grass").launch()
|