Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,12 +133,12 @@ def pvsnp(problem):
|
|
133 |
|
134 |
iface = gr.Interface(
|
135 |
fn=pvsnp,
|
136 |
-
inputs=gr.Textbox(label="
|
137 |
-
outputs=gr.Textbox(label="
|
138 |
title="PolyMath",
|
139 |
-
description="PolyMath is an
|
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
|