jvalero commited on
Commit
e409be0
1 Parent(s): 158b7b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -35,7 +35,7 @@ demo = gr.Blocks()
35
  file_transcribe = gr.Interface(
36
  fn=get_vinyl_condition,
37
  inputs=[
38
- gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
39
  ],
40
  outputs="text",
41
  layout="horizontal",
@@ -47,7 +47,8 @@ file_transcribe = gr.Interface(
47
  " of arbitrary length."
48
  ),
49
  examples=[
50
- ["./example.flac"],
 
51
  ],
52
  cache_examples=True,
53
  allow_flagging="never",
 
35
  file_transcribe = gr.Interface(
36
  fn=get_vinyl_condition,
37
  inputs=[
38
+ gr.components.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
39
  ],
40
  outputs="text",
41
  layout="horizontal",
 
47
  " of arbitrary length."
48
  ),
49
  examples=[
50
+ ["./example.mp3",
51
+ "./example2.mp3"],
52
  ],
53
  cache_examples=True,
54
  allow_flagging="never",