Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Commit
•
576d98c
1
Parent(s):
9a20f51
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, num_in
|
|
33 |
if randomize_seed:
|
34 |
seed = random.randint(0, MAX_SEED)
|
35 |
generator = torch.Generator().manual_seed(seed)
|
|
|
36 |
image = pipe(
|
37 |
prompt = prompt,
|
38 |
width = width,
|
|
|
33 |
if randomize_seed:
|
34 |
seed = random.randint(0, MAX_SEED)
|
35 |
generator = torch.Generator().manual_seed(seed)
|
36 |
+
prompt = f"{prompt},Master of Light and Shadow."
|
37 |
image = pipe(
|
38 |
prompt = prompt,
|
39 |
width = width,
|