Spaces:
Runtime error
Runtime error
Commit
•
f1869c7
1
Parent(s):
2e96ffb
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def style_transfer(input_image, artist):
|
|
53 |
|
54 |
#load content and style images
|
55 |
content_image = load_img(input_image, content=True, max_dim=oc_max_dim)
|
56 |
-
style_image = load_img(style_path, content=False, style_max_dim)
|
57 |
|
58 |
#Load Magenta Arbitrary Image Stylization network
|
59 |
hub_module = hub.load('https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/1')
|
|
|
53 |
|
54 |
#load content and style images
|
55 |
content_image = load_img(input_image, content=True, max_dim=oc_max_dim)
|
56 |
+
style_image = load_img(style_path, content=False, max_dim=style_max_dim)
|
57 |
|
58 |
#Load Magenta Arbitrary Image Stylization network
|
59 |
hub_module = hub.load('https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/1')
|