papasega commited on
Commit
214a299
·
verified ·
1 Parent(s): 2987966

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ def transcribe_and_translate(audio):
48
 
49
  # Création de l'interface Gradio
50
  audio_input = gr.Audio(sources=["microphone"], label="Enregistrement Audio")
51
- transcription_output = gr.Output(label="Texte en Arabe")
52
- translation_output = gr.Output(label="Traduction en Français")
53
 
54
  def process_audio(audio):
55
  # Transcription
 
48
 
49
  # Création de l'interface Gradio
50
  audio_input = gr.Audio(sources=["microphone"], label="Enregistrement Audio")
51
+ transcription_output = gr.Textbox(label="Texte en Arabe")
52
+ translation_output = gr.Textbox(label="Traduction en Français")
53
 
54
  def process_audio(audio):
55
  # Transcription