Spaces:
Build error
Build error
Sophie98
commited on
Commit
β’
76e529a
1
Parent(s):
5e8f5b8
error error error
Browse files
app.py
CHANGED
@@ -103,21 +103,21 @@ image = gr.inputs.Image()
|
|
103 |
style = gr.inputs.Image()
|
104 |
|
105 |
# Examples
|
106 |
-
example1 = ['sofa_example1.jpg','style_example1.jpg']
|
107 |
-
example2 = ['sofa_example1.jpg','style_example2.jpg']
|
108 |
-
example3 = ['sofa_example1.jpg','style_example3.jpg']
|
109 |
-
example4 = ['sofa_example1.jpg','style_example4.jpg']
|
110 |
-
example5 = ['sofa_example1.jpg','style_example5.jpg']
|
111 |
|
112 |
demo = gr.Interface(
|
113 |
style_sofa,
|
114 |
inputs = [image,style],
|
115 |
outputs = 'image',
|
116 |
-
examples=[example1,example2,example3,example4,example5],
|
117 |
title="π Style your sofa π ",
|
118 |
-
description="Customize your sofa to your wildest dreams
|
119 |
\nProvide a picture of your sofa and a desired pattern\
|
120 |
-
or choose one of the examples below",
|
121 |
# article="**References**\n\n"
|
122 |
# "<a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization' target='_blank'>1. Tutorial to implement Fast Neural Style Transfer using the pretrained model from TensorFlow Hub</a> \n"
|
123 |
# "<a href='https://huggingface.co/spaces/luca-martial/neural-style-transfer' target='_blank'>2. The idea to build a neural style transfer application was inspired from this Hugging Face Space </a>"
|
|
|
103 |
style = gr.inputs.Image()
|
104 |
|
105 |
# Examples
|
106 |
+
example1 = ['sofa_example1.jpg','style_example1.jpg']
|
107 |
+
example2 = ['sofa_example1.jpg','style_example2.jpg']
|
108 |
+
example3 = ['sofa_example1.jpg','style_example3.jpg']
|
109 |
+
example4 = ['sofa_example1.jpg','style_example4.jpg']
|
110 |
+
example5 = ['sofa_example1.jpg','style_example5.jpg']
|
111 |
|
112 |
demo = gr.Interface(
|
113 |
style_sofa,
|
114 |
inputs = [image,style],
|
115 |
outputs = 'image',
|
116 |
+
examples= [example1, example2, example3 ,example4 ,example5],
|
117 |
title="π Style your sofa π ",
|
118 |
+
description="Customize your sofa to your π wildest dreams π!\
|
119 |
\nProvide a picture of your sofa and a desired pattern\
|
120 |
+
or choose one of the examples below. β¬οΈ",
|
121 |
# article="**References**\n\n"
|
122 |
# "<a href='https://www.tensorflow.org/hub/tutorials/tf2_arbitrary_image_stylization' target='_blank'>1. Tutorial to implement Fast Neural Style Transfer using the pretrained model from TensorFlow Hub</a> \n"
|
123 |
# "<a href='https://huggingface.co/spaces/luca-martial/neural-style-transfer' target='_blank'>2. The idea to build a neural style transfer application was inspired from this Hugging Face Space </a>"
|