Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,11 @@ def transform_my_model(content_image,style_image):
|
|
| 71 |
image1 = gr.Image(label="Content Image") #CONTENT IMAGE
|
| 72 |
image2 = gr.Image(label="Style Image") #STYLE IMAGE
|
| 73 |
stylizedimg=gr.Image(label="Result")
|
| 74 |
-
gr.Interface(fn=transform_my_model, inputs= [image1,image2] ,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
|
|
|
|
| 71 |
image1 = gr.Image(label="Content Image") #CONTENT IMAGE
|
| 72 |
image2 = gr.Image(label="Style Image") #STYLE IMAGE
|
| 73 |
stylizedimg=gr.Image(label="Result")
|
| 74 |
+
gr.Interface(fn=transform_my_model, inputs= [image1,image2] ,
|
| 75 |
+
outputs= stylizedimg,title='Style Transfer',theme='seafoam',
|
| 76 |
+
examples=[['Content_Images/contnt12.jpg','VG516.jpg'],['Content_Images/contnt17.jpg','Content_Images/styl27.jpg']],
|
| 77 |
+
article="References-\n\nExploring the structure of a real-time, arbitrary neural artistic stylization network. Golnaz Ghiasi, Honglak Lee, Manjunath Kudlur, Vincent Dumoulin."
|
| 78 |
+
).launch()
|
| 79 |
|
| 80 |
|
| 81 |
|