ychenNLP commited on
Commit
db145e2
1 Parent(s): e6882db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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>"""
@@ -123,6 +123,7 @@ demo = gr.Interface(fn=asr,
123
  gr.outputs.Textbox(label="英文")
124
  ],
125
  title=title,
126
- description=instruction,theme='huggingface')
 
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()