multi-use-api / app /main.py
sameerbanchhor's picture
Upload folder using huggingface_hub
b6dcc89 verified
raw
history blame
459 Bytes
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
@app.get("/")
def greet_json():
return {"Hello": "World!", "message": "Go to /docs to see all available endpoints!"}