Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def generate(
|
|
141 |
global models
|
142 |
pipe = models[model_choice]
|
143 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
144 |
-
generator = torch.
|
145 |
|
146 |
prompt, negative_prompt = apply_style(style_selection, prompt, negative_prompt)
|
147 |
|
|
|
141 |
global models
|
142 |
pipe = models[model_choice]
|
143 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
144 |
+
generator = torch.manual_seed(seed)
|
145 |
|
146 |
prompt, negative_prompt = apply_style(style_selection, prompt, negative_prompt)
|
147 |
|