Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
24 |
def generate_image(prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
25 |
if randomize_seed:
|
26 |
seed = random.randint(0, MAX_SEED)
|
27 |
-
generator = torch.Generator().manual_seed(
|
28 |
image = pipe(
|
29 |
prompt=prompt,
|
30 |
width=width,
|
|
|
24 |
def generate_image(prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
25 |
if randomize_seed:
|
26 |
seed = random.randint(0, MAX_SEED)
|
27 |
+
generator = torch.Generator().manual_seed(42)
|
28 |
image = pipe(
|
29 |
prompt=prompt,
|
30 |
width=width,
|