Sandiago21 commited on
Commit
ed7226a
1 Parent(s): e96c29e

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -32,12 +32,17 @@ mic_transcribe = gr.Interface(
32
  fn=transcribe_speech,
33
  inputs=gr.Audio(source="microphone", type="filepath"),
34
  outputs=gr.outputs.Textbox(),
 
 
35
  )
36
 
37
  file_transcribe = gr.Interface(
38
  fn=transcribe_speech,
39
  inputs=gr.Audio(source="upload", type="filepath"),
40
  outputs=gr.outputs.Textbox(),
 
 
 
41
  )
42
 
43
  with demo:
@@ -45,8 +50,5 @@ with demo:
45
  [mic_transcribe, file_transcribe],
46
  ["Transcribe Microphone", "Transcribe Audio File"],
47
  ),
48
- examples=[["./example.wav"]],
49
- tilte=title,
50
- description=description,
51
 
52
  demo.launch()
 
32
  fn=transcribe_speech,
33
  inputs=gr.Audio(source="microphone", type="filepath"),
34
  outputs=gr.outputs.Textbox(),
35
+ tilte=title,
36
+ description=description,
37
  )
38
 
39
  file_transcribe = gr.Interface(
40
  fn=transcribe_speech,
41
  inputs=gr.Audio(source="upload", type="filepath"),
42
  outputs=gr.outputs.Textbox(),
43
+ examples=[["./example.wav"]],
44
+ tilte=title,
45
+ description=description,
46
  )
47
 
48
  with demo:
 
50
  [mic_transcribe, file_transcribe],
51
  ["Transcribe Microphone", "Transcribe Audio File"],
52
  ),
 
 
 
53
 
54
  demo.launch()