fedahumada commited on
Commit
1eb857f
1 Parent(s): fb999ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -21,9 +21,11 @@ def transcribe(audio):
21
  options = whisper.DecodingOptions(fp16 = False)
22
  result = whisper.decode(model, mel, options)
23
  return result.text
24
-
25
- gr.Interface(
26
- title = "SPEECH TO TEXT",
 
 
27
  fn=transcribe,
28
  inputs=[
29
  gr.inputs.Audio(source="microphone", type="filepath")
 
21
  options = whisper.DecodingOptions(fp16 = False)
22
  result = whisper.decode(model, mel, options)
23
  return result.text
24
+
25
+
26
+
27
+ gr.Interface(
28
+ title = 'SPEECH TO TEXT',
29
  fn=transcribe,
30
  inputs=[
31
  gr.inputs.Audio(source="microphone", type="filepath")