Rembg is a tool to remove images background
fix gradio
Daniel Gatise60cf455b927
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.pyindex 04661e2..a6cc276 100644--- a/rembg/commands/s_command.py+++ b/rembg/commands/s_command.py@@ -261,8 +261,9 @@ def s_command(port: int, host: str, log_level: str, threads: int) -> None:return await asyncify(im_without_bg)(file, commons) # type: ignoredef gr_app(app):- def inference(input_path, model, cmd_args):+ def inference(input_path, model, *args):output_path = "output.png"+ a, af, ab, ae, om, ppm, cmd_args = argskwargs = {"alpha_matting": a,