AP123 commited on
Commit
d0fbc3d
·
verified ·
1 Parent(s): b1eb1e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def transform_image(face_image):
41
  raise ValueError("Unsupported image format")
42
 
43
  # Load the style image from the local path
44
- style_image_path = "InstaSoyjak/soyjak2.jpeg"
45
  style_image = Image.open(style_image_path)
46
 
47
  # Perform the transformation using the configured pipeline
@@ -63,7 +63,7 @@ demo = gr.Interface(
63
  inputs=gr.Image(label="Upload your face image"),
64
  outputs=gr.Image(label="Your Soyjak"),
65
  title="InstaSoyjak - turn anyone into a Soyjak",
66
- description="All you need to do is upload an image. Please use responsibly.",
67
  )
68
 
69
  demo.queue(max_size=20)
 
41
  raise ValueError("Unsupported image format")
42
 
43
  # Load the style image from the local path
44
+ style_image_path = "./examples/poses/soyjak2.jpg"
45
  style_image = Image.open(style_image_path)
46
 
47
  # Perform the transformation using the configured pipeline
 
63
  inputs=gr.Image(label="Upload your face image"),
64
  outputs=gr.Image(label="Your Soyjak"),
65
  title="InstaSoyjak - turn anyone into a Soyjak",
66
+ description="All you need to do is upload an image. Please use responsibly. Please follow me on Twitter if you like this space: https://twitter.com/angrypenguinPNG. Idea from Yacine, please give him a follow: https://twitter.com/yacineMTB.",
67
  )
68
 
69
  demo.queue(max_size=20)