Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,16 +25,16 @@ def generate_caption_tts(image):
|
|
25 |
return (caption, tmp_file)
|
26 |
|
27 |
|
28 |
-
title = "
|
29 |
|
30 |
-
description = "
|
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 |
|
|
|
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 |
|