dineshb commited on
Commit
784787d
·
1 Parent(s): 7b16031

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,7 +84,7 @@ mf_transcribe = gr.Interface(
84
  inputs=[
85
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
86
  gr.inputs.Audio(source="upload", type="filepath", optional=True),
87
- gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
88
  ],
89
  outputs=["text",output_2],
90
  layout="horizontal",
@@ -98,7 +98,7 @@ yt_transcribe = gr.Interface(
98
  fn=yt_transcribe,
99
  inputs=[
100
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
101
- gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe")
102
  ],
103
  outputs=["text",output_3],
104
  layout="horizontal",
 
84
  inputs=[
85
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
86
  gr.inputs.Audio(source="upload", type="filepath", optional=True),
87
+
88
  ],
89
  outputs=["text",output_2],
90
  layout="horizontal",
 
98
  fn=yt_transcribe,
99
  inputs=[
100
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
101
+
102
  ],
103
  outputs=["text",output_3],
104
  layout="horizontal",