fix: synth để gắn soundfont cho midi

This commit is contained in:
2026-07-23 19:26:26 +07:00
parent 055f351a17
commit a21266736c
7 changed files with 366 additions and 35 deletions
+1 -1
View File
@@ -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()