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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,13 +63,13 @@ 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: 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