Spaces:
Runtime error
Runtime error
the-neural-networker
commited on
Commit
•
35700f6
1
Parent(s):
615bf14
add more examples
Browse files
app.py
CHANGED
@@ -124,8 +124,16 @@ def main():
|
|
124 |
|
125 |
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/content/dancing.jpg?raw=True", "dancing_content.jpg") # make sure to use "copy image address when copying image from Github"
|
126 |
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/style/picasso.jpg?raw=True", "picasso_style.jpg")
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
examples = [ # need to manually delete cache everytime new examples are added
|
128 |
-
['dancing_content.jpg', "picasso_style.jpg"]
|
|
|
|
|
129 |
]
|
130 |
|
131 |
demo = gr.Interface(
|
|
|
124 |
|
125 |
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/content/dancing.jpg?raw=True", "dancing_content.jpg") # make sure to use "copy image address when copying image from Github"
|
126 |
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/style/picasso.jpg?raw=True", "picasso_style.jpg")
|
127 |
+
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/content/neckarfront.jpg?raw=True", "neckarfront_content.jpg")
|
128 |
+
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/style/turner.jpg?raw=True", "turner_style.jpg")
|
129 |
+
|
130 |
+
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/content/desert.jpg?raw=True", "desert_content.jpg")
|
131 |
+
urlretrieve("https://github.com/the-neural-networker/neural-style-transfer/blob/main/images/style/gogh.jpg?raw=True", "gogh_style.jpg")
|
132 |
+
|
133 |
examples = [ # need to manually delete cache everytime new examples are added
|
134 |
+
['dancing_content.jpg', "picasso_style.jpg"],
|
135 |
+
['neckarfront_content.jpg', 'turner_style.jpg'],
|
136 |
+
['desert_content.jpg', 'gogh_style.jpg']
|
137 |
]
|
138 |
|
139 |
demo = gr.Interface(
|