Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|