Spaces:
Sleeping
Sleeping
Commit
·
63f8629
1
Parent(s):
88972dd
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ device = (
|
|
| 19 |
pipeline_name = 'WiNE-iNEFF/Minecraft-Skin-Diffusion-V2'
|
| 20 |
image_pipe = DDPMPipeline.from_pretrained(pipeline_name).to(device)
|
| 21 |
scheduler = DDIMScheduler.from_pretrained(pipeline_name)
|
| 22 |
-
scheduler.set_timesteps(num_inference_steps=
|
| 23 |
|
| 24 |
def show_images_save(x):
|
| 25 |
grid = torchvision.utils.make_grid(x, nrow=4, padding=0)
|
|
|
|
| 19 |
pipeline_name = 'WiNE-iNEFF/Minecraft-Skin-Diffusion-V2'
|
| 20 |
image_pipe = DDPMPipeline.from_pretrained(pipeline_name).to(device)
|
| 21 |
scheduler = DDIMScheduler.from_pretrained(pipeline_name)
|
| 22 |
+
scheduler.set_timesteps(num_inference_steps=25)
|
| 23 |
|
| 24 |
def show_images_save(x):
|
| 25 |
grid = torchvision.utils.make_grid(x, nrow=4, padding=0)
|