terry-li-hm
commited on
Commit
·
b2b2704
1
Parent(s):
2fdad2f
Update
Browse files
app.py
CHANGED
@@ -35,12 +35,15 @@ def model_inference(input_wav, language):
|
|
35 |
|
36 |
def launch():
|
37 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
|
38 |
with gr.Row():
|
39 |
gr.Examples(
|
40 |
examples=[["example/scb.mp3"]],
|
41 |
inputs=[audio_inputs],
|
42 |
outputs=text_outputs,
|
43 |
fn=lambda x: model_inference(x, "yue"),
|
|
|
|
|
44 |
)
|
45 |
|
46 |
with gr.Row():
|
|
|
35 |
|
36 |
def launch():
|
37 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
38 |
+
gr.Markdown("## Try an example:")
|
39 |
with gr.Row():
|
40 |
gr.Examples(
|
41 |
examples=[["example/scb.mp3"]],
|
42 |
inputs=[audio_inputs],
|
43 |
outputs=text_outputs,
|
44 |
fn=lambda x: model_inference(x, "yue"),
|
45 |
+
examples_per_page=1,
|
46 |
+
scale=1,
|
47 |
)
|
48 |
|
49 |
with gr.Row():
|