소스 검색

fix linters

Daniel Gatis 1 년 전
부모
커밋
8347c8b7dc
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      rembg/commands/s_command.py

+ 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="/")
         app = gr.mount_gradio_app(app, interface, path="/")
         return app
         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)
     uvicorn.run(gr_app(app), host=host, port=port, log_level=log_level)