Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI | |
| # Import all your routers | |
| from app.routers import random_number_generator, help, calculator # <-- Import the new router | |
| app = FastAPI() | |
| # Include all routers | |
| app.include_router(random_number_generator.router) | |
| app.include_router(help.router) | |
| app.include_router(calculator.router) # <-- Include the new router | |
| def greet_json(): | |
| return {"Hello": "World!", "message": "Go to /docs to see all available endpoints!"} |