Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -53,14 +53,14 @@ def generate(
|
|
53 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
54 |
generator = torch.Generator().manual_seed(seed)
|
55 |
image = pipe(
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
).images[0]
|
65 |
return image, seed
|
66 |
|
|
|
53 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
54 |
generator = torch.Generator().manual_seed(seed)
|
55 |
image = pipe(
|
56 |
+
prompt=prompt,
|
57 |
+
negative_prompt=negative_prompt,
|
58 |
+
width=width,
|
59 |
+
height=height,
|
60 |
+
guidance_scale=guidance_scale,
|
61 |
+
num_inference_steps=num_inference_steps,
|
62 |
+
generator=generator,
|
63 |
+
use_resolution_binning=use_resolution_binning,
|
64 |
).images[0]
|
65 |
return image, seed
|
66 |
|