Spaces:
Running
Running
| 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 | |
| def greet_json(): | |
| return {"message": "Go to /docs to see all available endpoints!", "link" : "https://sameerbanchhor-multi-use-api.hf.space/docs"} |