imvladikon commited on
Commit
1d0b67e
1 Parent(s): 7bc435d

Update app.py

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