Update app.py
Browse files
app.py
CHANGED
@@ -68,9 +68,9 @@ def transform_my_model(content_image,style_image):
|
|
68 |
return stylized_image
|
69 |
|
70 |
|
71 |
-
image1 = gr.Image
|
72 |
-
image2 = gr.Image
|
73 |
-
stylizedimg=gr.Image
|
74 |
gr.Interface(fn=transform_my_model, inputs= [image1,image2] , outputs= stylizedimg,title='Style Transfer',theme='seafoam',examples=[['Content_Images/contnt12.jpg','VG516.jpg']],article="References-\n\nExploring the structure of a real-time, arbitrary neural artistic stylization network. Golnaz Ghiasi, Honglak Lee, Manjunath Kudlur, Vincent Dumoulin.").launch(debug=True)
|
75 |
|
76 |
|
|
|
68 |
return stylized_image
|
69 |
|
70 |
|
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] , outputs= stylizedimg,title='Style Transfer',theme='seafoam',examples=[['Content_Images/contnt12.jpg','VG516.jpg']],article="References-\n\nExploring the structure of a real-time, arbitrary neural artistic stylization network. Golnaz Ghiasi, Honglak Lee, Manjunath Kudlur, Vincent Dumoulin.").launch(debug=True)
|
75 |
|
76 |
|