Spaces:
Sleeping
Sleeping
OthmaneLKH
commited on
Commit
•
333b26c
1
Parent(s):
d80ce31
Update app.py (#7)
Browse files- Update app.py (fa431f03d352907ab180dc9f5f5821a527459ea7)
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 ##########################
|