razhan commited on
Commit
09e70d3
1 Parent(s): ad450b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,8 +60,8 @@ demo = gr.Blocks()
60
  mf_transcribe = gr.Interface(
61
  fn=transcribe,
62
  inputs=[
63
- gr.inputs.Audio(source="microphone", type="filepath", optional=True),
64
- gr.inputs.Audio(source="upload", type="filepath", optional=True),
65
  ],
66
  outputs="text",
67
  layout="horizontal",
@@ -77,7 +77,7 @@ mf_transcribe = gr.Interface(
77
 
78
  yt_transcribe = gr.Interface(
79
  fn=yt_transcribe,
80
- inputs=[gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL")],
81
  outputs=["html", "text"],
82
  layout="horizontal",
83
  theme="huggingface",
 
60
  mf_transcribe = gr.Interface(
61
  fn=transcribe,
62
  inputs=[
63
+ gr.Audio(sources="microphone", type="filepath", optional=True),
64
+ gr.Audio(sources="upload", type="filepath", optional=True),
65
  ],
66
  outputs="text",
67
  layout="horizontal",
 
77
 
78
  yt_transcribe = gr.Interface(
79
  fn=yt_transcribe,
80
+ inputs=[gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL")],
81
  outputs=["html", "text"],
82
  layout="horizontal",
83
  theme="huggingface",