Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -270,6 +270,8 @@ button.svelte-1lcyrx4[aria-label="user's message: a file of type image/jpeg, "]
|
|
| 270 |
position: relative;
|
| 271 |
margin-bottom: var(--spacing-lg);
|
| 272 |
}
|
|
|
|
|
|
|
| 273 |
"""
|
| 274 |
|
| 275 |
js = """
|
|
@@ -302,12 +304,12 @@ with demo:
|
|
| 302 |
chat_demo_interface = gr.ChatInterface(
|
| 303 |
fn=chat,
|
| 304 |
description="""**Vintern-3B-R-beta** is the latest in the Vintern series.""",
|
| 305 |
-
examples=[
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
],
|
| 311 |
additional_inputs=[think_mode],
|
| 312 |
title="❄️Vintern-3B-R-beta❄️",
|
| 313 |
multimodal=True,
|
|
|
|
| 270 |
position: relative;
|
| 271 |
margin-bottom: var(--spacing-lg);
|
| 272 |
}
|
| 273 |
+
|
| 274 |
+
|
| 275 |
"""
|
| 276 |
|
| 277 |
js = """
|
|
|
|
| 304 |
chat_demo_interface = gr.ChatInterface(
|
| 305 |
fn=chat,
|
| 306 |
description="""**Vintern-3B-R-beta** is the latest in the Vintern series.""",
|
| 307 |
+
# examples=[
|
| 308 |
+
# [{"text": "Hãy viết một email giới thiệu sản phẩm trong ảnh.", "files":["./demo_3.jpg"]}, False],
|
| 309 |
+
# [{"text": "Trích xuất các thông tin từ ảnh trả về markdown.", "files":["./demo_1.jpg"]}, False],
|
| 310 |
+
# [{"text": "Bạn là nhân viên marketing chuyên nghiệp. Hãy viết một bài quảng cáo dài trên mạng xã hội giới thiệu về cửa hàng.", "files":["./demo_2.jpg"]}, False],
|
| 311 |
+
# [{"text": "Trích xuất thông tin kiện hàng trong ảnh và trả về dạng JSON.", "files":["./demo_4.jpg"]}, False]
|
| 312 |
+
# ],
|
| 313 |
additional_inputs=[think_mode],
|
| 314 |
title="❄️Vintern-3B-R-beta❄️",
|
| 315 |
multimodal=True,
|