Sonu313131 commited on
Commit
7cefee9
·
verified ·
1 Parent(s): c356279

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -63,10 +63,16 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
63
 
64
  try:
65
  system_prompt = (
66
- "You are a general AI assistant. I will ask you a question. "
67
- "ALWAYS ANSWER ONLY IN SINGLE WORD"
68
- "DO NOT provide detailed answers. Only single word answers"
69
- "When asked for the IOC country code. Only answer with the country code such as GER"
 
 
 
 
 
 
70
  )
71
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
72
 
 
63
 
64
  try:
65
  system_prompt = (
66
+ "You must only reply with a single line: FINAL ANSWER: [your answer]
67
+
68
+ Never include reasoning, markdown, Task Outcome, Explanation, or examples.
69
+ NEVER use numbered points or extra formatting.
70
+
71
+ If your answer is a string, write it in lowercase, no articles, no quotes.
72
+ If your answer is a number, use digits only. If the answer is "no one" or "none", write exactly that.
73
+
74
+ DO NOT provide any explanation or context. Just the line: FINAL ANSWER: ...
75
+ "
76
  )
77
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
78