Spaces:
Runtime error
Runtime error
breynolds1247
commited on
Commit
·
ddd8afd
1
Parent(s):
077e5fa
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def style_transfer(input_image, artist):
|
|
64 |
print("stylized_image:")
|
65 |
print(stylized_image[0])
|
66 |
print(stylized_image)
|
67 |
-
return stylized_image[0]
|
68 |
|
69 |
app = gr.Interface(
|
70 |
style_transfer,
|
|
|
64 |
print("stylized_image:")
|
65 |
print(stylized_image[0])
|
66 |
print(stylized_image)
|
67 |
+
return tf.io.encode_jpeg(stylized_image[0])
|
68 |
|
69 |
app = gr.Interface(
|
70 |
style_transfer,
|