Update app.py
Browse files
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 |
-
|
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,
|