dineshb commited on
Commit
3ac08e7
Β·
verified Β·
1 Parent(s): 620a109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,8 +83,8 @@ description = """This application displays transcribed text for given audio inpu
83
  mf_transcribe = gr.Interface(
84
  fn=transcribe,
85
  inputs=[
86
- gr.inputs.Audio(source="microphone", type="filepath", optional=True),
87
- gr.inputs.Audio(source="upload", type="filepath", optional=True),
88
 
89
  ],
90
  outputs=["text",output_2],
@@ -98,7 +98,7 @@ mf_transcribe = gr.Interface(
98
  yt_transcribe = gr.Interface(
99
  fn=yt_transcribe,
100
  inputs=[
101
- gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
102
 
103
  ],
104
  outputs=["text",output_3],
 
83
  mf_transcribe = gr.Interface(
84
  fn=transcribe,
85
  inputs=[
86
+ gr.Audio(source="microphone", type="filepath", optional=True),
87
+ gr.Audio(source="upload", type="filepath", optional=True),
88
 
89
  ],
90
  outputs=["text",output_2],
 
98
  yt_transcribe = gr.Interface(
99
  fn=yt_transcribe,
100
  inputs=[
101
+ gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
102
 
103
  ],
104
  outputs=["text",output_3],