ychenNLP commited on
Commit
4f4216e
1 Parent(s): 277b228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -109,7 +109,7 @@ title = """
109
  # Create an instruction input component
110
  instruction = """
111
  <div style="border: 2px solid #000; padding: 10px; border-radius: 5px;">
112
- 一键输入视频链接,轻松中文翻译,视频无障碍 <span style="color: grey;">-- powered by OpenAI Whisper & ChatGPT.</span>.<br>
113
 
114
  1.将视频链接(支持Twitter、YouTube)复制粘贴至输入框,点击提交(Submit)即可;
115
  </div>"""
@@ -117,8 +117,8 @@ instruction = """
117
  demo = gr.Interface(fn=asr,
118
  inputs=gr.inputs.Textbox(label="粘贴视频链接"),
119
  outputs=[
120
- gr.outputs.Textbox(label="中文"),
121
- gr.outputs.Textbox(label="英文")
122
  ],
123
  title=title,
124
  description=instruction,
 
109
  # Create an instruction input component
110
  instruction = """
111
  <div style="border: 2px solid #000; padding: 10px; border-radius: 5px;">
112
+ 视频翻译 (video-translation):输入视频链接,进行中文翻译 <span style="color: grey;">-- powered by OpenAI Whisper & ChatGPT.</span>.<br>
113
 
114
  1.将视频链接(支持Twitter、YouTube)复制粘贴至输入框,点击提交(Submit)即可;
115
  </div>"""
 
117
  demo = gr.Interface(fn=asr,
118
  inputs=gr.inputs.Textbox(label="粘贴视频链接"),
119
  outputs=[
120
+ gr.outputs.Textbox(label="翻译"),
121
+ gr.outputs.Textbox(label="音频转录")
122
  ],
123
  title=title,
124
  description=instruction,