File size: 370 Bytes
940a3bb
 
b3bf7c9
940a3bb
 
 
 
 
 
 
5b01a80
b3bf7c9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from huggingface_hub import InferenceClient
from fastapi import FastAPI
from routes import chatCompletion, textToImage, automaticSpeechRecognition

app = FastAPI()

@app.get("/")
async def root():
    return {"message": "Hello World"}

app.include_router(chatCompletion.router)
app.include_router(textToImage.router)
app.include_router(automaticSpeechRecognition.router)