Spaces:
Sleeping
Sleeping
DeepLearning101
commited on
Commit
•
68767cb
1
Parent(s):
1b51c36
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def yt_transcribe(yt_url, task, max_filesize=75.0):
|
|
80 |
mf_transcribe = gr.Interface(
|
81 |
fn=transcribe,
|
82 |
inputs=[
|
83 |
-
gr.Audio(
|
84 |
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
85 |
],
|
86 |
outputs="text",
|
|
|
80 |
mf_transcribe = gr.Interface(
|
81 |
fn=transcribe,
|
82 |
inputs=[
|
83 |
+
gr.Audio(type="filepath", optional=True),
|
84 |
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
85 |
],
|
86 |
outputs="text",
|