codelion commited on
Commit
81a72ce
·
verified ·
1 Parent(s): 07d6b9d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -1183,9 +1183,20 @@ with gr.Blocks(title="OpenEvolve Prompt Optimizer", theme=gr.themes.Soft()) as d
1183
 
1184
  initial_prompt = gr.TextArea(
1185
  label="Initial Prompt",
1186
- value="Solve this math problem step by step.\n\nProblem: {input}\n\nProvide your final answer as a number after ####.",
1187
- lines=6,
1188
- info="Use {input} as placeholder for dataset inputs. Start simple - evolution will improve it!"
 
 
 
 
 
 
 
 
 
 
 
1189
  )
1190
 
1191
  # Button outside the column for better visibility
 
1183
 
1184
  initial_prompt = gr.TextArea(
1185
  label="Initial Prompt",
1186
+ value="""You are a math competition expert. Solve this AIME problem using clear reasoning.
1187
+
1188
+ Problem: {input}
1189
+
1190
+ Instructions:
1191
+ 1. Read the problem carefully
1192
+ 2. Identify what is being asked
1193
+ 3. Break down the solution into steps
1194
+ 4. Show your work clearly
1195
+ 5. Provide the final numerical answer after ####
1196
+
1197
+ Solution:""",
1198
+ lines=10,
1199
+ info="Use {input} as placeholder for dataset inputs. Chain-of-thought prompting works best for AIME!"
1200
  )
1201
 
1202
  # Button outside the column for better visibility