terry-li-hm
commited on
Commit
·
d199239
1
Parent(s):
515379f
app.py
CHANGED
@@ -35,10 +35,18 @@ def model_inference(input_wav, language):
|
|
35 |
|
36 |
|
37 |
def launch():
|
38 |
-
|
39 |
with gr.Blocks() as demo:
|
40 |
gr.Markdown("# Cantonese Call Transcriber")
|
41 |
-
gr.Markdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
# Define components
|
44 |
audio_input = gr.Audio(label="Input")
|
|
|
35 |
|
36 |
|
37 |
def launch():
|
|
|
38 |
with gr.Blocks() as demo:
|
39 |
gr.Markdown("# Cantonese Call Transcriber")
|
40 |
+
gr.Markdown(
|
41 |
+
"""
|
42 |
+
This tool transcribes Cantonese audio calls into text.
|
43 |
+
|
44 |
+
## How to use:
|
45 |
+
1. Upload an audio file or use the provided example.
|
46 |
+
2. Click the 'Process Audio' button.
|
47 |
+
3. The transcription will appear in the output box.
|
48 |
+
"""
|
49 |
+
)
|
50 |
|
51 |
# Define components
|
52 |
audio_input = gr.Audio(label="Input")
|