Spaces:
Sleeping
Sleeping
OthmaneLKH
commited on
Commit
•
fa431f0
1
Parent(s):
bf733f4
Update app.py
Browse files
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=
|
602 |
inputs=[audio_output],
|
603 |
-
outputs=
|
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 ##########################
|