Abhlash commited on
Commit
bbc88fd
·
verified ·
1 Parent(s): 335c7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -56,4 +56,8 @@ def test_math(request: CalculationRequest):
56
  else:
57
  return {"error": "Invalid operation"}
58
 
59
- return {"result": result}
 
 
 
 
 
56
  else:
57
  return {"error": "Invalid operation"}
58
 
59
+ return {"result": result}
60
+
61
+ if __name__ == "__main__":
62
+ import uvicorn
63
+ uvicorn.run(app, host="0.0.0.0", port=8000)