Spaces:
Runtime error
Runtime error
Commit
•
9743ca0
1
Parent(s):
dce5102
Update app.py
Browse files
app.py
CHANGED
@@ -71,9 +71,10 @@ app = gr.Interface(
|
|
71 |
[gr.Image(type='pil'), gr.Radio(["Vincent van Gogh", "Claude Monet", "Leonardo da Vinci", "Rembrandt", "Pablo Picasso", "Salvador Dali"])],
|
72 |
gr.Image(type='pil'),
|
73 |
title="Artist Style Transfer Tool",
|
74 |
-
description="""
|
|
|
75 |
|
76 |
-
|
77 |
<tr>
|
78 |
<td>van Gogh</td>
|
79 |
<td>Monet</td>
|
@@ -87,10 +88,10 @@ app = gr.Interface(
|
|
87 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/a/af/Claude_Monet_-_Water_Lilies_-_Google_Art_Project_%28462013%29.jpg" width="19%"></td>
|
88 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/f/f2/Leonardo_da_Vinci_-_Mona_Lisa_%28La_Gioconda%29_-_WGA12711.jpg" width="19%"></td>
|
89 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/The_Nightwatch_by_Rembrandt_-_Rijksmuseum.jpg/1259px-The_Nightwatch_by_Rembrandt_-_Rijksmuseum.jpg" width="19%"></td>
|
90 |
-
<td><
|
91 |
<td><img src="img src="https://upload.wikimedia.org/wikipedia/en/d/dd/The_Persistence_of_Memory.jpg" width="19%"></td>
|
92 |
</tr>
|
93 |
-
|
94 |
""",
|
95 |
article = "This app uses [Arbitrary Style Transfer with Magenta](https://arxiv.org/abs/1705.06830)."
|
96 |
)
|
|
|
71 |
[gr.Image(type='pil'), gr.Radio(["Vincent van Gogh", "Claude Monet", "Leonardo da Vinci", "Rembrandt", "Pablo Picasso", "Salvador Dali"])],
|
72 |
gr.Image(type='pil'),
|
73 |
title="Artist Style Transfer Tool",
|
74 |
+
description="""
|
75 |
+
Fast style transfer using the Magenta model lets you make your own art in the style of six famous artists using a pretrained neural network and deep learning! Simply upload an image and select an artist's style to have transferred to your picture. Each artist's styles are based on a single one of their most famous paintings: Starry Night (van Gogh), Water Lilies (Monet), Mona Lisa (da Vinci), The Night Watch (Rembrandt), The Weeping Woman (Picasso), and The Persistence of Memory (Dali). Note that some input images may be rotated 90 degrees in the output to facilitate the style transfer.
|
76 |
|
77 |
+
<table>
|
78 |
<tr>
|
79 |
<td>van Gogh</td>
|
80 |
<td>Monet</td>
|
|
|
88 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/a/af/Claude_Monet_-_Water_Lilies_-_Google_Art_Project_%28462013%29.jpg" width="19%"></td>
|
89 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/f/f2/Leonardo_da_Vinci_-_Mona_Lisa_%28La_Gioconda%29_-_WGA12711.jpg" width="19%"></td>
|
90 |
<td><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/The_Nightwatch_by_Rembrandt_-_Rijksmuseum.jpg/1259px-The_Nightwatch_by_Rembrandt_-_Rijksmuseum.jpg" width="19%"></td>
|
91 |
+
<td><img src="https://upload.wikimedia.org/wikipedia/en/1/14/Picasso_The_Weeping_Woman_Tate_identifier_T05010_10.jpg" width="19%"></td>
|
92 |
<td><img src="img src="https://upload.wikimedia.org/wikipedia/en/d/dd/The_Persistence_of_Memory.jpg" width="19%"></td>
|
93 |
</tr>
|
94 |
+
</table>
|
95 |
""",
|
96 |
article = "This app uses [Arbitrary Style Transfer with Magenta](https://arxiv.org/abs/1705.06830)."
|
97 |
)
|