new4u commited on
Commit
0566672
1 Parent(s): 61fd23f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -156,7 +156,9 @@ yt_transcribe = gr.Interface(
156
  fn=yt_transcribe,
157
  inputs=[
158
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
159
- gr.inputs.Radio(["转译", "翻译"], label="Task", default="transcribe")
 
 
160
  ],
161
  outputs=["html", "text"],
162
  layout="horizontal",
 
156
  fn=yt_transcribe,
157
  inputs=[
158
  gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
159
+ # gr.inputs.Radio(["转译", "翻译"], label="Task", default="transcribe")
160
+ gr.inputs.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
161
+
162
  ],
163
  outputs=["html", "text"],
164
  layout="horizontal",