llm / app.py
eienmojiki's picture
feat: add automatic speech recognition route and integration
b3bf7c9
raw
history blame contribute delete
370 Bytes
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)