multi-use-api / app /main.py
sameerbanchhor's picture
Upload folder using huggingface_hub
9a961b7 verified
raw
history blame
562 Bytes
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"}