Spaces:
Runtime error
Runtime error
Commit
·
3d71566
1
Parent(s):
a1377cd
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,10 @@ app = gr.Interface(
|
|
| 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, shown below for reference: 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).
|
|
|
|
|
|
|
|
|
|
| 76 |
<table>
|
| 77 |
<tr>
|
| 78 |
<td style="text-align:center">van Gogh</td>
|
|
@@ -90,8 +93,10 @@ Fast style transfer using the Magenta model lets you make your own art in the st
|
|
| 90 |
<td><img src="https://upload.wikimedia.org/wikipedia/en/1/14/Picasso_The_Weeping_Woman_Tate_identifier_T05010_10.jpg" width="200"></td>
|
| 91 |
<td><img src="https://upload.wikimedia.org/wikipedia/en/d/dd/The_Persistence_of_Memory.jpg" width="200"></td>
|
| 92 |
</tr>
|
| 93 |
-
</table>
|
| 94 |
-
|
|
|
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
app.launch()
|
|
|
|
| 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, shown below for reference: 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).
|
| 76 |
+
Note that some input images may be rotated 90 degrees in the output to facilitate the style transfer.
|
| 77 |
+
""",
|
| 78 |
+
article = """
|
| 79 |
<table>
|
| 80 |
<tr>
|
| 81 |
<td style="text-align:center">van Gogh</td>
|
|
|
|
| 93 |
<td><img src="https://upload.wikimedia.org/wikipedia/en/1/14/Picasso_The_Weeping_Woman_Tate_identifier_T05010_10.jpg" width="200"></td>
|
| 94 |
<td><img src="https://upload.wikimedia.org/wikipedia/en/d/dd/The_Persistence_of_Memory.jpg" width="200"></td>
|
| 95 |
</tr>
|
| 96 |
+
</table>
|
| 97 |
+
|
| 98 |
+
This app uses [Arbitrary Style Transfer with Magenta](https://arxiv.org/abs/1705.06830).
|
| 99 |
+
"""
|
| 100 |
)
|
| 101 |
|
| 102 |
app.launch()
|