Dannel commited on
Commit
a1461d7
·
verified ·
1 Parent(s): 2d4b28c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
 
5
- generator = pipeline("image-to-image", model="microsoft/age-recognition")
6
  def generate_face_variations(image):
7
  variations = generator(image, num_images=4, guidance_scale=7.5)
8
  return variations
 
2
  import gradio as gr
3
 
4
 
5
+ generator = pipeline("image-to-image", model="timbrooks/instruct-pix2pix")
6
  def generate_face_variations(image):
7
  variations = generator(image, num_images=4, guidance_scale=7.5)
8
  return variations