Spaces:
Build error
Build error
Update app.py
Browse files23 unmodified lines2425262728293023 unmodified linesMAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1536"))USE_TORCH_COMPILE = FalseENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"PREVIEW_IMAGES = Falsedtype = torch.float16device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")23 unmodified lines2425262728293023 unmodified linesMAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "1536"))USE_TORCH_COMPILE = FalseENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD") == "1"PREVIEW_IMAGES = Truedtype = torch.float16device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
app.py+1-1