Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ pipeline = StableDiffusionPipeline.from_pretrained(
|
|
10 |
repo,
|
11 |
torch_dtype=torch.float16,
|
12 |
)
|
13 |
-
pipeline.enable_model_cpu_offload()
|
14 |
|
15 |
@spaces.GPU(enable_queue=True)
|
16 |
def generate_image(prompt, neg_prompt):
|
|
|
10 |
repo,
|
11 |
torch_dtype=torch.float16,
|
12 |
)
|
13 |
+
# pipeline.enable_model_cpu_offload()
|
14 |
|
15 |
@spaces.GPU(enable_queue=True)
|
16 |
def generate_image(prompt, neg_prompt):
|