Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def predict(dict, prompt="high quality, best quality", negative_prompt="", guida
|
|
33 |
init_image = dict["image"].convert("RGB")
|
34 |
init_image = init_image.resize((224, 224))
|
35 |
|
36 |
-
generator = torch.Generator(device="cpu").manual_seed(seed)
|
37 |
|
38 |
output = pipe(
|
39 |
prompt=prompt,
|
|
|
33 |
init_image = dict["image"].convert("RGB")
|
34 |
init_image = init_image.resize((224, 224))
|
35 |
|
36 |
+
generator = torch.Generator(device="cpu").manual_seed(int(seed))
|
37 |
|
38 |
output = pipe(
|
39 |
prompt=prompt,
|