@xuda.io/account_module 1.2.276 → 1.2.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1617,7 +1617,6 @@ export const get_user_name = async function (uid) {
|
|
|
1617
1617
|
// };
|
|
1618
1618
|
|
|
1619
1619
|
const removeBg = async function (req, job_id, headers) {
|
|
1620
|
-
debugger;
|
|
1621
1620
|
// 1. Load your drive module
|
|
1622
1621
|
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
1623
1622
|
|
|
@@ -1651,6 +1650,7 @@ const removeBg = async function (req, job_id, headers) {
|
|
|
1651
1650
|
// 6. EXECUTE REMBG via CLI
|
|
1652
1651
|
// "rembg i [input] [output]"
|
|
1653
1652
|
console.log(`Processing with rembg: ${tempInputPath} -> ${tempOutputPath}`);
|
|
1653
|
+
debugger;
|
|
1654
1654
|
await execAsync(`rembg i "${tempInputPath}" "${tempOutputPath}"`);
|
|
1655
1655
|
|
|
1656
1656
|
// 7. Prepare File Object for Drive Upload
|