Set Web Interface URL from loaded state in Desktop GUIs. Not hard-coded

This commit is contained in:
Debanjum Singh Solanky
2022-08-15 23:07:22 +03:00
parent 7f479b0104
commit 9bc4fd539e
4 changed files with 7 additions and 3 deletions

View File

@@ -13,4 +13,6 @@ processor_config = ProcessorConfigModel()
config_file: Path = ""
verbose: int = 0
device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu") # Set device to GPU if available
host: str = None
port: int = None
cli_args = None