Spaces:
Sleeping
Sleeping
OthmaneLKH
commited on
Commit
•
506c6ff
1
Parent(s):
333b26c
Update app.py
Browse files
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
|
493 |
|
494 |
|
495 |
demo = gr.Blocks(css=".markdown-body { font-size: 18px; }")
|
@@ -598,7 +598,7 @@ with demo:
|
|
598 |
########################## Transcription ##########################
|
599 |
with gr.Row():
|
600 |
transcribe_btn = gr.Button("Transcrire l'audio")
|
601 |
-
transcription_output = gr.Textbox(label="Transcription", lines=5)
|
602 |
|
603 |
transcribe_btn.click(
|
604 |
fn=say_hello_oth,
|
@@ -673,7 +673,7 @@ with demo:
|
|
673 |
gr.Markdown("Or")
|
674 |
|
675 |
query_box = gr.Textbox(
|
676 |
-
value=" Hello
|
677 |
)
|
678 |
|
679 |
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; }")
|
|
|
598 |
########################## Transcription ##########################
|
599 |
with gr.Row():
|
600 |
transcribe_btn = gr.Button("Transcrire l'audio")
|
601 |
+
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)
|
602 |
|
603 |
transcribe_btn.click(
|
604 |
fn=say_hello_oth,
|
|
|
673 |
gr.Markdown("Or")
|
674 |
|
675 |
query_box = gr.Textbox(
|
676 |
+
value=" Hello my name is Othmane Lkhalidi , I am a 22 years old data science student from Paris.", label="CUSTOMIZED PROMPT:", interactive=True
|
677 |
)
|
678 |
|
679 |
default_query_box.change(
|