Spaces:
Runtime error
Runtime error
RohitGandikota
commited on
Commit
β’
09df4e6
1
Parent(s):
2e45b7e
Update app.py
Browse files
app.py
CHANGED
@@ -282,10 +282,10 @@ class Demo:
|
|
282 |
|
283 |
|
284 |
generator = torch.manual_seed(seed)
|
285 |
-
edited_image = pipe(prompt, num_images_per_prompt=1, num_inference_steps=50, generator=generator, network=network, start_noise=start_noise, scale=scale, unet=unet).images[0]
|
286 |
|
287 |
generator = torch.manual_seed(seed)
|
288 |
-
original_image = pipe(prompt, num_images_per_prompt=1, num_inference_steps=50, generator=generator, network=network, start_noise=start_noise, scale=0, unet=unet).images[0]
|
289 |
|
290 |
del unet, network
|
291 |
unet = None
|
|
|
282 |
|
283 |
|
284 |
generator = torch.manual_seed(seed)
|
285 |
+
edited_image = self.pipe(prompt, num_images_per_prompt=1, num_inference_steps=50, generator=generator, network=network, start_noise=start_noise, scale=scale, unet=unet).images[0]
|
286 |
|
287 |
generator = torch.manual_seed(seed)
|
288 |
+
original_image = self.pipe(prompt, num_images_per_prompt=1, num_inference_steps=50, generator=generator, network=network, start_noise=start_noise, scale=0, unet=unet).images[0]
|
289 |
|
290 |
del unet, network
|
291 |
unet = None
|