Spaces:
Sleeping
Sleeping
nizarzerouale
commited on
Commit
•
b27a52a
1
Parent(s):
e2058a2
Update app.py
Browse files
app.py
CHANGED
@@ -591,13 +591,13 @@ with demo:
|
|
591 |
########################## Transcription ##########################
|
592 |
with gr.Row():
|
593 |
#transcribe_btn = gr.Button("Transcrire l'audio")
|
594 |
-
transcription_output = gr.Textbox(value = "Hello my name is
|
595 |
|
596 |
-
|
597 |
fn=say_hello_oth,
|
598 |
inputs=[audio_output],
|
599 |
outputs=[msg]
|
600 |
-
)
|
601 |
|
602 |
########################## Key Gen Part ##########################
|
603 |
|
@@ -666,7 +666,7 @@ with demo:
|
|
666 |
gr.Markdown("Or")
|
667 |
|
668 |
query_box = gr.Textbox(
|
669 |
-
value=" Hello my name is
|
670 |
)
|
671 |
|
672 |
default_query_box.change(
|
|
|
591 |
########################## Transcription ##########################
|
592 |
with gr.Row():
|
593 |
#transcribe_btn = gr.Button("Transcrire l'audio")
|
594 |
+
transcription_output = gr.Textbox(value = "Hello my name is Bob , I am a 22 years old data science student from Paris.",label="Transcription", lines=5)
|
595 |
|
596 |
+
transcribe_btn.click(
|
597 |
fn=say_hello_oth,
|
598 |
inputs=[audio_output],
|
599 |
outputs=[msg]
|
600 |
+
)
|
601 |
|
602 |
########################## Key Gen Part ##########################
|
603 |
|
|
|
666 |
gr.Markdown("Or")
|
667 |
|
668 |
query_box = gr.Textbox(
|
669 |
+
value=" Hello my name is Bob, I am a 22 years old data science student from Paris.", label="CUSTOMIZED PROMPT:", interactive=True
|
670 |
)
|
671 |
|
672 |
default_query_box.change(
|