Update app.py
Browse files6 unmodified lines789101112136 unmodified linesimport torchdevice = "cuda" if torch.cuda.is_available() else "cpu"model_repo_id = "stabilityai/sdxl-turbo" # Replace to the model you would like to useif torch.cuda.is_available():torch_dtype = torch.float166 unmodified lines789101112136 unmodified linesimport torchdevice = "cuda" if torch.cuda.is_available() else "cpu"model_repo_id = "stabilityai/stable-diffusion-xl-base-1.0" # Replace to the model you would like to useif torch.cuda.is_available():torch_dtype = torch.float16
app.py+1-1