terry-li-hm
commited on
Commit
·
515379f
1
Parent(s):
94ef5c0
U3
Browse files
app.py
CHANGED
@@ -35,15 +35,10 @@ def model_inference(input_wav, language):
|
|
35 |
|
36 |
|
37 |
def launch():
|
38 |
-
# Create a custom orange theme
|
39 |
-
orange_theme = gr.themes.Base(
|
40 |
-
primary_hue="orange",
|
41 |
-
secondary_hue="stone",
|
42 |
-
)
|
43 |
|
44 |
-
with gr.Blocks(
|
45 |
gr.Markdown("# Cantonese Call Transcriber")
|
46 |
-
gr.Markdown("
|
47 |
|
48 |
# Define components
|
49 |
audio_input = gr.Audio(label="Input")
|
|
|
35 |
|
36 |
|
37 |
def launch():
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
+
with gr.Blocks() as demo:
|
40 |
gr.Markdown("# Cantonese Call Transcriber")
|
41 |
+
gr.Markdown("Click the example at the bottom to try it out.")
|
42 |
|
43 |
# Define components
|
44 |
audio_input = gr.Audio(label="Input")
|