DewiBrynJones commited on
Commit
b933475
1 Parent(s): 395f0e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -8,9 +8,11 @@ def transcribe(audio):
8
  return text
9
 
10
  demo = gr.Interface(
11
- transcribe,
12
- gr.Audio(sources=["microphone"], type="filepath"),
13
- "text",
 
 
14
  )
15
 
16
  demo.launch()
 
8
  return text
9
 
10
  demo = gr.Interface(
11
+ fn=transcribe,
12
+ title="Adnabod Lleferydd Cymraeg // Welsh Automatic Speech Recognition",
13
+ description="Recordiwch eich hunain gyda'ch meicroffon yn dweud rhywbeth yn Gymraeg ac fe ddangosir yr AI drawsgrifiad o beth dywedoch. // Record yourself with your microphone saying something in Welsh and the AI will show you a transcript of what you said. "
14
+ inputs=gr.Audio(sources=["microphone"], type="filepath"),
15
+ outputs=[gr.outputs.Textbox(label="Trawsgrifiad // Transcription")
16
  )
17
 
18
  demo.launch()