Spaces:
Build error
Build error
+1
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
|
| 72 |
|
| 73 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 74 |
|
| 75 |
-
NUM_IMAGES_PER_PROMPT =
|
| 76 |
|
| 77 |
if torch.cuda.is_available():
|
| 78 |
pipe = DiffusionPipeline.from_pretrained(
|
|
|
|
| 72 |
|
| 73 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 74 |
|
| 75 |
+
NUM_IMAGES_PER_PROMPT = 3
|
| 76 |
|
| 77 |
if torch.cuda.is_available():
|
| 78 |
pipe = DiffusionPipeline.from_pretrained(
|