Spaces:
Build error
Build error
Sophie98
commited on
Commit
•
9be4acc
1
Parent(s):
8e6efc1
delete some debug code
Browse files- styleTransfer.py +0 -5
styleTransfer.py
CHANGED
@@ -127,8 +127,3 @@ def perform_style_transfer(content_image, style_image):
|
|
127 |
def create_styledSofa(sofa:Image, style:Image):
|
128 |
styled_sofa = StyleTransformer(sofa,style)
|
129 |
return styled_sofa
|
130 |
-
|
131 |
-
image = Image.open('sofa.jpg')
|
132 |
-
style = Image.open('style.jpg')
|
133 |
-
output = create_styledSofa(image,style)
|
134 |
-
output.show()
|
|
|
127 |
def create_styledSofa(sofa:Image, style:Image):
|
128 |
styled_sofa = StyleTransformer(sofa,style)
|
129 |
return styled_sofa
|
|
|
|
|
|
|
|
|
|