diff --git a/main.py b/main.py index 7f84d8e..bb4e683 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,7 @@ def run_compute(a,b,sigma): capture_output=True, text=True ) - return result.stdout.strip() + return int(result.stdout.strip()) @app.post("/compute") async def compute(data: ComputeInput):