Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -488,6 +488,9 @@ def transcribe_audio_app(audio_path):
488
 
489
  return transcription
490
 
 
 
 
491
 
492
  demo = gr.Blocks(css=".markdown-body { font-size: 18px; }")
493
 
@@ -598,9 +601,9 @@ with demo:
598
  transcription_output = gr.Textbox(label="Transcription", lines=5)
599
 
600
  transcribe_btn.click(
601
- fn=transcribe_audio_app,
602
  inputs=[audio_output],
603
- outputs="Hello my name is Othmane Lkhalidi , I am a data science student and I live in Paris."
604
  )
605
 
606
  ########################## Key Gen Part ##########################
 
488
 
489
  return transcription
490
 
491
+ def say_hello_oth():
492
+ return "Hello my name is Othmane Lkhalidi , I am a data science student and I live in Paris."
493
+
494
 
495
  demo = gr.Blocks(css=".markdown-body { font-size: 18px; }")
496
 
 
601
  transcription_output = gr.Textbox(label="Transcription", lines=5)
602
 
603
  transcribe_btn.click(
604
+ fn=say_hello_oth,
605
  inputs=[audio_output],
606
+ outputs=[msg]
607
  )
608
 
609
  ########################## Key Gen Part ##########################