arshadrana commited on
Commit
20476b0
·
verified ·
1 Parent(s): fc4112b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -41,8 +41,4 @@ def get_math_response(user_question):
41
  async def solve_math(query: MathQuery):
42
  user_question = query.question
43
  answer = get_math_response(user_question)
44
- return {"question": user_question, "answer": answer}
45
-
46
- @app.get("/")
47
- def root():
48
- return {"message": "Welcome to the FastAPI Math Solver!"}
 
41
  async def solve_math(query: MathQuery):
42
  user_question = query.question
43
  answer = get_math_response(user_question)
44
+ return {"question": user_question, "answer": answer}