Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ demo = gr.Blocks()
|
|
35 |
file_transcribe = gr.Interface(
|
36 |
fn=get_vinyl_condition,
|
37 |
inputs=[
|
38 |
-
gr.
|
39 |
],
|
40 |
outputs="text",
|
41 |
layout="horizontal",
|
@@ -47,7 +47,8 @@ file_transcribe = gr.Interface(
|
|
47 |
" of arbitrary length."
|
48 |
),
|
49 |
examples=[
|
50 |
-
["./example.
|
|
|
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",
|