Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
|
23 |
|
24 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
25 |
|
26 |
-
NUM_IMAGES_PER_PROMPT =
|
27 |
|
28 |
if torch.cuda.is_available():
|
29 |
pipe = DiffusionPipeline.from_pretrained(
|
|
|
23 |
|
24 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
25 |
|
26 |
+
NUM_IMAGES_PER_PROMPT = 4
|
27 |
|
28 |
if torch.cuda.is_available():
|
29 |
pipe = DiffusionPipeline.from_pretrained(
|