Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,8 +84,8 @@ def transform_mymodel(content_image,style_image):
|
|
84 |
|
85 |
def gradio_intrface(mymodel):
|
86 |
# Initializing the input component
|
87 |
-
image1 = gr.inputs.Image() #CONTENT IMAGE
|
88 |
-
image2 = gr.inputs.Image() #STYLE IMAGE
|
89 |
stylizedimg=gr.outputs.Image()
|
90 |
gr.Interface(fn=mymodel, inputs= [image1,image2] , outputs= stylizedimg,title='Style Transfer',theme='seafoam',examples=[['Content_Images/contnt12.jpg','VG516.jpg']],article="**References**\n\n""<a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization'</a>\n").launch()
|
91 |
|
|
|
84 |
|
85 |
def gradio_intrface(mymodel):
|
86 |
# Initializing the input component
|
87 |
+
image1 = gr.inputs.Image(label="Content Image") #CONTENT IMAGE
|
88 |
+
image2 = gr.inputs.Image(label="Style Image") #STYLE IMAGE
|
89 |
stylizedimg=gr.outputs.Image()
|
90 |
gr.Interface(fn=mymodel, inputs= [image1,image2] , outputs= stylizedimg,title='Style Transfer',theme='seafoam',examples=[['Content_Images/contnt12.jpg','VG516.jpg']],article="**References**\n\n""<a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization'</a>\n").launch()
|
91 |
|