OthmaneLKH commited on
Commit
c17dc3d
·
verified ·
1 Parent(s): 9fdf9f1
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -489,7 +489,7 @@ def transcribe_audio_app(audio_path):
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; }")
@@ -593,7 +593,7 @@ with demo:
593
  ########################## Transcription ##########################
594
  with gr.Row():
595
  transcribe_btn = gr.Button("Transcrire l'audio")
596
- transcription_output = gr.Textbox(label="Transcription", lines=5)
597
 
598
  transcribe_btn.click(
599
  fn=say_hello_oth,
@@ -668,7 +668,7 @@ with demo:
668
  gr.Markdown("Or")
669
 
670
  query_box = gr.Textbox(
671
- value=" Hello. My name is Inuitvementoya. You kill my father. Prepare to die.", label="CUSTOMIZED PROMPT:", interactive=True
672
  )
673
 
674
  default_query_box.change(
 
489
  return transcription
490
 
491
  def say_hello_oth():
492
+ return "Hello my name is Othmane Lkhalidi , I am a 22 years old data science student from Paris."
493
 
494
 
495
  demo = gr.Blocks(css=".markdown-body { font-size: 18px; }")
 
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(
599
  fn=say_hello_oth,
 
668
  gr.Markdown("Or")
669
 
670
  query_box = gr.Textbox(
671
+ value=" Hello my name is Othmane Lkhalidi , I am a 22 years old data science student from Paris.", label="CUSTOMIZED PROMPT:", interactive=True
672
  )
673
 
674
  default_query_box.change(