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>"""
|
@@ -123,6 +123,7 @@ demo = gr.Interface(fn=asr,
|
|
123 |
gr.outputs.Textbox(label="英文")
|
124 |
],
|
125 |
title=title,
|
126 |
-
description=instruction,
|
|
|
127 |
demo.queue()
|
128 |
demo.launch()
|
|
|
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>"""
|
|
|
123 |
gr.outputs.Textbox(label="英文")
|
124 |
],
|
125 |
title=title,
|
126 |
+
description=instruction,
|
127 |
+
theme=gr.themes.Soft())
|
128 |
demo.queue()
|
129 |
demo.launch()
|