2
0
Daniel Gatis 1 жил өмнө
parent
commit
8347c8b7dc

+ 6 - 2
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)