Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Commit
•
bbccd54
1
Parent(s):
42d2e36
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, num_in
|
|
51 |
if randomize_seed:
|
52 |
seed = random.randint(0, MAX_SEED)
|
53 |
generator = torch.Generator().manual_seed(seed)
|
54 |
-
prompt = f"feifei, real model girl in real life, {prompt}, slight smile, Master of Light and Shadow."
|
55 |
prompt = re.sub("young woman", "sexy feifei" ,prompt)
|
56 |
prompt = re.sub("woman", "sexy feifei" ,prompt)
|
57 |
prompt = re.sub("girl", "sexy feifei" ,prompt)
|
|
|
51 |
if randomize_seed:
|
52 |
seed = random.randint(0, MAX_SEED)
|
53 |
generator = torch.Generator().manual_seed(seed)
|
54 |
+
# prompt = f"feifei, real model girl in real life, {prompt}, slight smile, Master of Light and Shadow."
|
55 |
prompt = re.sub("young woman", "sexy feifei" ,prompt)
|
56 |
prompt = re.sub("woman", "sexy feifei" ,prompt)
|
57 |
prompt = re.sub("girl", "sexy feifei" ,prompt)
|