fast / app.py
NethajiNirmal's picture
Update app.py
53325ad
raw
history blame contribute delete
No virus
148 Bytes
# app.py
from fastapi import FastAPI
app = FastAPI()
@app.get("/add")
def add_numbers(num1: float, num2: float):
return {"sum": num1 + num2}