mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
resolve which paths can be None
This commit is contained in:
committed by
psychedelicious
parent
b7293d638b
commit
250ee4b11c
@ -232,7 +232,6 @@ app.mount("/locales", StaticFiles(directory=Path(web_root_path, "dist/locales/")
|
||||
|
||||
|
||||
def invoke_api() -> None:
|
||||
|
||||
def find_port(port: int) -> int:
|
||||
"""Find a port not in use starting at given port"""
|
||||
# Taken from https://waylonwalker.com/python-find-available-port/, thanks Waylon!
|
||||
|
Reference in New Issue
Block a user