AI-Quotient commited on
Commit
e830431
·
verified ·
1 Parent(s): 84703e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -133,12 +133,12 @@ def pvsnp(problem):
133
 
134
  iface = gr.Interface(
135
  fn=pvsnp,
136
- inputs=gr.Textbox(label="What problem would you like to classify as P or NP?"),
137
- outputs=gr.Textbox(label="Agent's response"), # Output as HTML
138
  title="PolyMath",
139
- description="PolyMath is an advanced AI agent that guides users through the intricate maze of computational complexity. This agent scrutinizes problem descriptions with sophisticated LLM prompts and symbolic reasoning. It classifies problems into categories such as P, NP, NP-complete, NP-hard, or beyond (e.g., PSPACE, EXPTIME), while providing clear, concise explanations of its reasoning. As part of AI Quotient’s Millennium Math Challenge, it is the first step towards solving the P vs NP problem.",
140
  theme = gr.themes.Ocean(),
141
- examples = ["Simplify x*2+2x+1"]
142
  )
143
 
144
  # Launch the app
 
133
 
134
  iface = gr.Interface(
135
  fn=pvsnp,
136
+ inputs=gr.Textbox(label="Enter a math problem or expression (e.g., integrate x^2 * sin(x), solve x^3 + 2x = 5, or simplify (x + 1)^2 - x^2)"),
137
+ outputs=gr.Textbox(label="PolyMath’s response"), # Output as HTML
138
  title="PolyMath",
139
+ description="PolyMath is an AI-powered math agent designed to tackle both symbolic and numeric computations with precision. It's like having a digital mathematician by your side whether you're exploring calculus, number theory, or algebraic puzzles.",
140
  theme = gr.themes.Ocean(),
141
+ examples = ["Simplify x*2+2x+1", "Solve x^2 - 4x + 3 = 0", "Integrate x * e^x dx" ]
142
  )
143
 
144
  # Launch the app