Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,6 @@ def generate(image: Image.Image, edit_prompt: str):
|
|
99 |
img = img.permute(2, 0, 1).unsqueeze(0).to(device, dtype=dtype)
|
100 |
|
101 |
result = sampler(
|
102 |
-
device='cuda',
|
103 |
prompt=edit_prompt,
|
104 |
width=args.sample_width,
|
105 |
height=args.sample_height,
|
|
|
99 |
img = img.permute(2, 0, 1).unsqueeze(0).to(device, dtype=dtype)
|
100 |
|
101 |
result = sampler(
|
|
|
102 |
prompt=edit_prompt,
|
103 |
width=args.sample_width,
|
104 |
height=args.sample_height,
|