| from huggingface_hub import InferenceClient | |
| from fastapi import FastAPI | |
| from routes import chatCompletion, textToImage, automaticSpeechRecognition | |
| app = FastAPI() | |
| async def root(): | |
| return {"message": "Hello World"} | |
| app.include_router(chatCompletion.router) | |
| app.include_router(textToImage.router) | |
| app.include_router(automaticSpeechRecognition.router) |