Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

fix linters

Daniel Gatis8347c8b7dcd5
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index b7a484e..ae60a22 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -290,7 +290,11 @@ def s_command(port: int, host: str, log_level: str, threads: int) -> None:
app = gr.mount_gradio_app(app, interface, path="/")
return app
- print(f"To access the API documentation, go to http://{'localhost' if host == '0.0.0.0' else host}:{port}/api")
- print(f"To access the UI, go to http://{'localhost' if host == '0.0.0.0' else host}:{port}")
+ print(
+ f"To access the API documentation, go to http://{'localhost' if host == '0.0.0.0' else host}:{port}/api"
+ )
+ print(
+ f"To access the UI, go to http://{'localhost' if host == '0.0.0.0' else host}:{port}"
+ )
uvicorn.run(gr_app(app), host=host, port=port, log_level=log_level)