nightfury commited on
Commit
3d23487
·
1 Parent(s): e81816e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -33,8 +33,19 @@ paris = ["example_paris.jpeg", "style_vangogh.jpeg"]
33
 
34
  # Customize interface
35
  title = "Fast Neural Style Transfer using TF-Hub"
36
- description = "Demo for Neural Style Transfer using a pretrained Arbitrary Image Stylization model from TensorFlow Hub. To use it, simply upload a content image and style image, or click one of the examples to load them. To learn more about the project, please find the references listed below."
37
- article = "\n\n :: References :: \n <p style='text-align: center'> <a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization' target='_blank'> Tutorial to implement Fast Neural Style Transfer using the pretrained model from TensorFlow Hub</a> \n <a href='https://arxiv.org/abs/1705.06830'>Exploring the structure of a real-time, arbitrary neural artistic stylization network</a></p>"
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  content_input = gr.inputs.Image(label="Content Image", source="upload")
40
  style_input = gr.inputs.Image(label="Style Image", source="upload")
 
33
 
34
  # Customize interface
35
  title = "Fast Neural Style Transfer using TF-Hub"
36
+ description = "<p style='text-align: center'> Demo for Neural Style Transfer using a pretrained Arbitrary Image Stylization model from TensorFlow Hub. To use it, simply upload a content image and style image, or click one of the examples to load them. To learn more about the project, please find the references listed below.</p>"
37
+ article = r""" \n\n :: References ::
38
+ <br>
39
+ <a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization' target='_blank'>
40
+ Tutorial to implement Fast Neural Style Transfer using the pretrained model from TensorFlow Hub
41
+ </a>
42
+ <br>
43
+ <a href='https://arxiv.org/abs/1705.06830'>
44
+ Exploring the structure of a real-time, arbitrary neural artistic stylization network
45
+ </a>
46
+ <br>
47
+ <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_arbi_img_stylization' alt='visitor badge'></center>
48
+ """
49
 
50
  content_input = gr.inputs.Image(label="Content Image", source="upload")
51
  style_input = gr.inputs.Image(label="Style Image", source="upload")