luca-martial commited on
Commit
8949e37
1 Parent(s): a61ec70

new images

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -21,8 +21,9 @@ def stylize(content_image, style_image):
21
  stylized_image = hub_model(tf.constant(content_image), tf.constant(style_image))[0]
22
  return tensor_to_image(stylized_image)
23
 
24
- content_examples =[["example_paris.jpeg"], ["example_vangogh.jpeg"]]
25
- style_examples = [["example_aristotle.jpeg"], ["example_dali.jpeg"]]
 
26
  title = "Fast Neural Style Transfer using TF-Hub"
27
  description = "Demo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub."
28
  content_input = gr.inputs.Image(label="Content Image", source="upload")
 
21
  stylized_image = hub_model(tf.constant(content_image), tf.constant(style_image))[0]
22
  return tensor_to_image(stylized_image)
23
 
24
+ paris =[["example_paris.jpeg"], ["example_vangogh.jpeg"]]
25
+ aristotle = [["example_aristotle.jpeg"], ["example_dali.jpeg"]]
26
+ avatar = [["example_avatar.jpeg"], ["example_kandinsky.jpeg"]]
27
  title = "Fast Neural Style Transfer using TF-Hub"
28
  description = "Demo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub."
29
  content_input = gr.inputs.Image(label="Content Image", source="upload")