Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, num_in
|
|
49 |
if randomize_seed:
|
50 |
seed = random.randint(0, MAX_SEED)
|
51 |
generator = torch.Generator().manual_seed(seed)
|
52 |
-
prompt = f"feifei,
|
53 |
prompt = re.sub("young woman", "feifei" ,prompt)
|
54 |
prompt = re.sub("woman", "feifei" ,prompt)
|
55 |
prompt = re.sub("girl", "feifei" ,prompt)
|
|
|
49 |
if randomize_seed:
|
50 |
seed = random.randint(0, MAX_SEED)
|
51 |
generator = torch.Generator().manual_seed(seed)
|
52 |
+
prompt = f"feifei, {prompt}, slight smile, Master of Light and Shadow."
|
53 |
prompt = re.sub("young woman", "feifei" ,prompt)
|
54 |
prompt = re.sub("woman", "feifei" ,prompt)
|
55 |
prompt = re.sub("girl", "feifei" ,prompt)
|