Kutches commited on
Commit
1599782
1 Parent(s): 29e8f7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def download_models():
27
 
28
  def get_ip_model():
29
  download_models()
30
- base_model_path = "Yntec/epiCPhotoGasm"
31
  vae_model_path = "stabilityai/sd-vae-ft-mse"
32
  image_encoder_path = "IP-Adapter/models/image_encoder"
33
  ip_ckpt = "IP-Adapter-FaceID/ip-adapter-faceid-plus_sd15.bin"
@@ -71,7 +71,7 @@ def generate_images(prompt, img_filepath,
71
  negative_prompt="monochrome, lowres, bad anatomy, worst quality, low quality, blurry",
72
  img_prompt_scale=0.5,
73
  num_inference_steps=40,
74
- seed=None, n_images=2):
75
  print(f'{datetime.now().strftime("%Y/%m/%d %H:%M:%S")}: {prompt}')
76
  image = cv2.imread(img_filepath)
77
  faces = app.get(image)
 
27
 
28
  def get_ip_model():
29
  download_models()
30
+ base_model_path = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
31
  vae_model_path = "stabilityai/sd-vae-ft-mse"
32
  image_encoder_path = "IP-Adapter/models/image_encoder"
33
  ip_ckpt = "IP-Adapter-FaceID/ip-adapter-faceid-plus_sd15.bin"
 
71
  negative_prompt="monochrome, lowres, bad anatomy, worst quality, low quality, blurry",
72
  img_prompt_scale=0.5,
73
  num_inference_steps=40,
74
+ seed=None, n_images=4):
75
  print(f'{datetime.now().strftime("%Y/%m/%d %H:%M:%S")}: {prompt}')
76
  image = cv2.imread(img_filepath)
77
  faces = app.get(image)