sample / main.py
srivatsavdamaraju's picture
Rename app.py to main.py
39190f3 verified
raw
history blame contribute delete
128 Bytes
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def home():
return {"message": "FastAPI running on port 7860!"}