Spaces:
Runtime error
Runtime error
Commit
·
583ea10
1
Parent(s):
bbbd1e2
update system prompt
Browse files
app.py
CHANGED
@@ -30,11 +30,10 @@ def gpu_inference(image_path: str, prompt: str) -> str:
|
|
30 |
|
31 |
# Build conversation
|
32 |
system_msg = (
|
33 |
-
"You are
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"additional explanation unless absolutely necessary."
|
38 |
)
|
39 |
conversation = [
|
40 |
{"role": "system", "content": [{"type": "text", "text": system_msg}]},
|
|
|
30 |
|
31 |
# Build conversation
|
32 |
system_msg = (
|
33 |
+
"You are VL-Thinking U+1F914, a helpful assistant with excellent reasoning ability.\n"
|
34 |
+
"A user asks you a question, and you should try to solve it."
|
35 |
+
"You should first think about the reasoning process in the mind and then provides the user with the answer.\n"
|
36 |
+
"The reasoning process and answer are enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>."
|
|
|
37 |
)
|
38 |
conversation = [
|
39 |
{"role": "system", "content": [{"type": "text", "text": system_msg}]},
|