luca-martial commited on
Commit
4995718
1 Parent(s): a96c0a1

add ref article

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -33,7 +33,8 @@ avatar = [["example_avatar.jpeg"], ["example_kandinsky.jpeg"]]
33
 
34
  # Customize interface
35
  title = "Fast Neural Style Transfer using TF-Hub"
36
- description = "\nDemo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub.\n"
 
37
  content_input = gr.inputs.Image(label="Content Image", source="upload")
38
  style_input = gr.inputs.Image(label="Style Image", source="upload")
39
 
@@ -43,5 +44,6 @@ iface = gr.Interface(fn=stylize,
43
  outputs="image",
44
  title=title,
45
  description=description,
 
46
  examples=[paris, aristotle, avatar])
47
  iface.launch()
 
33
 
34
  # Customize interface
35
  title = "Fast Neural Style Transfer using TF-Hub"
36
+ description = "Demo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub."
37
+ rticle = "<p style='text-align: center'><a href='https://arxiv.org/abs/1705.06830'>Exploring the structure of a real-time, arbitrary neural artistic stylization network</a></p>"
38
  content_input = gr.inputs.Image(label="Content Image", source="upload")
39
  style_input = gr.inputs.Image(label="Style Image", source="upload")
40
 
 
44
  outputs="image",
45
  title=title,
46
  description=description,
47
+ article=article,
48
  examples=[paris, aristotle, avatar])
49
  iface.launch()