alecinvan commited on
Commit
19d9d4a
·
1 Parent(s): 235005a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,16 +25,16 @@ def generate_caption_tts(image):
25
  return (caption, tmp_file)
26
 
27
 
28
- title = "Alec图像理解器"
29
 
30
- description = "Bootstrapping Language-Image Pre-training model演示:引导语言图像预训练以实现统一视觉语言理解和生成。 请上传您的图像"
31
 
32
  iface = gr.Interface(
33
  fn=generate_caption_tts,
34
  title=title,
35
  description=description,
36
  inputs=gr.inputs.Image(shape=(224,224)),
37
- outputs=["text", "audio"]
38
  )
39
 
40
 
 
25
  return (caption, tmp_file)
26
 
27
 
28
+ title ="<span style='font-style: italic; font-weight: bold; color: darkred;'>李飒博士作品</span> - AI图像理解交互机器人"
29
 
30
+ description = "BLPM模型:引导性语言图像预训练以实现统一视觉语言理解和生成。 请上传您的图像"
31
 
32
  iface = gr.Interface(
33
  fn=generate_caption_tts,
34
  title=title,
35
  description=description,
36
  inputs=gr.inputs.Image(shape=(224,224)),
37
+ outputs=["文本", "语音"]
38
  )
39
 
40