sanchit-gandhi HF staff commited on
Commit
609dcbe
1 Parent(s): 7097513

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ mf_transcribe = gr.Interface(
70
  inputs=[
71
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
72
  gr.inputs.Audio(source="upload", type="filepath", optional=True),
73
- gr.inputs.Radio(["transcribe", "translate"], label="task", default="transcribe"),
74
  ],
75
  outputs="text",
76
  layout="horizontal",
@@ -88,7 +88,7 @@ yt_transcribe = gr.Interface(
88
  fn=yt_transcribe,
89
  inputs=[
90
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
91
- gr.inputs.Radio(["transcribe", "translate"], label="task", default="transcribe")
92
  ],
93
  outputs=["html", "text"],
94
  layout="horizontal",
 
70
  inputs=[
71
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
72
  gr.inputs.Audio(source="upload", type="filepath", optional=True),
73
+ gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
74
  ],
75
  outputs="text",
76
  layout="horizontal",
 
88
  fn=yt_transcribe,
89
  inputs=[
90
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
91
+ gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe")
92
  ],
93
  outputs=["html", "text"],
94
  layout="horizontal",