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