Spaces:
Runtime error
Runtime error
luca-martial
commited on
Commit
·
a61ec70
1
Parent(s):
fb41fca
debug
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ content_examples =[["example_paris.jpeg"], ["example_vangogh.jpeg"]]
|
|
25 |
style_examples = [["example_aristotle.jpeg"], ["example_dali.jpeg"]]
|
26 |
title = "Fast Neural Style Transfer using TF-Hub"
|
27 |
description = "Demo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub."
|
28 |
-
content_input = gr.inputs.Image(label="Content Image")
|
29 |
-
style_input = gr.inputs.Image(label="Style Image")
|
30 |
|
31 |
iface = gr.Interface(fn=stylize,
|
32 |
inputs=[content_input, style_input],
|
|
|
25 |
style_examples = [["example_aristotle.jpeg"], ["example_dali.jpeg"]]
|
26 |
title = "Fast Neural Style Transfer using TF-Hub"
|
27 |
description = "Demo for neural style transfer using the pretrained Arbitrary Image Stylization model from TensorFlow Hub."
|
28 |
+
content_input = gr.inputs.Image(label="Content Image", source="upload")
|
29 |
+
style_input = gr.inputs.Image(label="Style Image", source="upload")
|
30 |
|
31 |
iface = gr.Interface(fn=stylize,
|
32 |
inputs=[content_input, style_input],
|