chore: remove requirements.txt and clean up code
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
audiocraft==1.3.0
|
|
||||||
fastapi==0.111.1
|
|
||||||
torchaudio==2.1.0
|
|
@@ -14,15 +14,6 @@ t = None
|
|||||||
# websocket connection to the inference server
|
# websocket connection to the inference server
|
||||||
ws = None
|
ws = None
|
||||||
|
|
||||||
prompts = [
|
|
||||||
"gentle, calming lo-fi beats that helps with studying and focusing",
|
|
||||||
"calm, piano lo-fi beats to help with studying and focusing",
|
|
||||||
"gentle lo-fi hip-hop to relax to",
|
|
||||||
"gentle, quiet synthwave lo-fi beats",
|
|
||||||
"morning lo-fi beats",
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
@asynccontextmanager
|
@asynccontextmanager
|
||||||
async def lifespan(app: FastAPI):
|
async def lifespan(app: FastAPI):
|
||||||
global ws
|
global ws
|
||||||
|
Reference in New Issue
Block a user