Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ examples = [
|
|
| 127 |
"files": ["example_images/objects365_v1_00322846.jpg"]}],
|
| 128 |
[{"text": "简要概括这张图片的核心内容",
|
| 129 |
"files": ["example_images/objects365_v1_00361740.jpg"]}],
|
| 130 |
-
[{"text": "
|
| 131 |
"files": ["example_images/objects365_v1_00357438.jpg"]}],
|
| 132 |
[{"text": "描述这张图片中的内容",
|
| 133 |
"files": ["example_images/objects365_v1_00323167.jpg"]}]
|
|
@@ -183,7 +183,7 @@ custom_css = """
|
|
| 183 |
demo = gr.ChatInterface(
|
| 184 |
fn=model_inference,
|
| 185 |
title="🎨 TinyMind 多模态AI助手",
|
| 186 |
-
description="基于
|
| 187 |
examples=examples,
|
| 188 |
textbox=gr.MultimodalTextbox(
|
| 189 |
label="📝 输入提示词(建议以图片描述为主)",
|
|
|
|
| 127 |
"files": ["example_images/objects365_v1_00322846.jpg"]}],
|
| 128 |
[{"text": "简要概括这张图片的核心内容",
|
| 129 |
"files": ["example_images/objects365_v1_00361740.jpg"]}],
|
| 130 |
+
[{"text": "你从图片中看到了什么",
|
| 131 |
"files": ["example_images/objects365_v1_00357438.jpg"]}],
|
| 132 |
[{"text": "描述这张图片中的内容",
|
| 133 |
"files": ["example_images/objects365_v1_00323167.jpg"]}]
|
|
|
|
| 183 |
demo = gr.ChatInterface(
|
| 184 |
fn=model_inference,
|
| 185 |
title="🎨 TinyMind 多模态AI助手",
|
| 186 |
+
description="基于ONNX的高效多模态模型,支持图像理解与文本生成。上传图片并输入提示词,获得智能回答。模型只有90M,效果仅供娱乐(优化学习中)[详见知乎](https://zhuanlan.zhihu.com/p/1982031267370389720)",
|
| 187 |
examples=examples,
|
| 188 |
textbox=gr.MultimodalTextbox(
|
| 189 |
label="📝 输入提示词(建议以图片描述为主)",
|