fix: synth để gắn soundfont cho midi
This commit is contained in:
@@ -15,7 +15,7 @@ os.makedirs(UPLOAD_SF_DIR, exist_ok=True)
|
||||
|
||||
@router.get("/available")
|
||||
async def list_plugins(current_user: dict = Depends(get_current_user)):
|
||||
pm = PluginManager()
|
||||
pm = PluginManager(upload_sf_dir=UPLOAD_SF_DIR)
|
||||
return pm.list_available()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user