aifeifei798 commited on
Commit
c13b662
·
verified ·
1 Parent(s): 840c09a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, real model girl in real life, {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)
 
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)