Spaces:
Running
Running
File size: 562 Bytes
b6dcc89 9a961b7 b6dcc89 9a961b7 b6dcc89 9a961b7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
from fastapi import FastAPI
# testers routers
from app.routers.testers import random_number_generator
from app.routers.testers import help
from app.routers.testers import calculator
# add your more module here
app = FastAPI()
# Include all routers
app.include_router(random_number_generator.router)
app.include_router(help.router)
app.include_router(calculator.router)
# add more router here
@app.get("/")
def greet_json():
return {"message": "Go to /docs to see all available endpoints!", "link" : "https://sameerbanchhor-multi-use-api.hf.space/docs"} |