Sonu313131 commited on
Commit
3c7394d
·
verified ·
1 Parent(s): b670d38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -63,13 +63,17 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
63
 
64
  try:
65
  system_prompt = (
66
- """You must only reply with a single line: FINAL ANSWER: [your answer]...
67
- Never include reasoning, markdown, Task Outcome, Explanation, or examples. ...
68
- NEVER use numbered points or extra formatting. ...
69
- If your answer is a string, write it in lowercase, no articles, no quotes. ...
70
- If your answer is a number, use digits only. If the answer is "no one" or "none", write exactly that. ...
 
 
 
 
71
  DO NOT provide any explanation or context. Just the line: FINAL ANSWER: ...
72
- """
73
  )
74
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
75
 
 
63
 
64
  try:
65
  system_prompt = (
66
+ """You must only reply with a single line:
67
+ FINAL ANSWER: [your answer]
68
+
69
+ Never include reasoning, markdown, Task Outcome, Explanation, or examples.
70
+ NEVER use numbered points or extra formatting.
71
+
72
+ If your answer is a string, write it in lowercase, no articles, no quotes.
73
+ If your answer is a number, use digits only. If the answer is "no one" or "none", write exactly that.
74
+
75
  DO NOT provide any explanation or context. Just the line: FINAL ANSWER: ...
76
+ """
77
  )
78
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
79