Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgatis committed Jan 23, 2024
1 parent 70b4c44 commit 8347c8b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rembg/commands/s_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,11 @@ def inference(input_path, model, cmd_args):
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)

0 comments on commit 8347c8b

Please sign in to comment.