move cli and api into wrapper

This commit is contained in:
Ftps
2024-03-07 21:50:15 +09:00
parent 0c3c512396
commit 785abd7830
12 changed files with 75 additions and 19 deletions

11
rvc/wrapper/api/api.py Normal file
View File

@@ -0,0 +1,11 @@
import uvicorn
from dotenv import load_dotenv
from fastapi import FastAPI
from rvc.wrapper.api.endpoints import inference
load_dotenv()
app = FastAPI()
app.include_router(inference.router)