Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,34 +39,27 @@ def predict_gradio(image):
|
|
39 |
|
40 |
def gradio_pls():
|
41 |
description="""
|
42 |
-
<style>
|
43 |
-
#img {
|
44 |
-
width: 200px;
|
45 |
-
height: auto;
|
46 |
-
background-position: center top;
|
47 |
-
}
|
48 |
-
</style>
|
49 |
Upload a photo and click on submit to see the 12 styles applied to your photo. \n
|
50 |
Keep in mind that for compatibility reasons your photo is cropped before the neural net applied the different styles.
|
51 |
<center>
|
52 |
<table id=table_1><tr>
|
53 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/a_muse_picasso.jpg" class="image_responsive"></td>
|
54 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/britto.jpg" class="image_responsive"></td>
|
55 |
|
56 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/cat.jpg" class="image_responsive"></td>
|
57 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/cubist.jpg" class="image_responsive"></td>
|
58 |
|
59 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/fractal.jpg" class="image_responsive"></td>
|
60 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/horse.jpg" class="image_responsive"></td>
|
61 |
|
62 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/monet.jpg" class="image_responsive"></td>
|
63 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/sketch.jpg" class="image_responsive"></td>
|
64 |
|
65 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/starry_night.jpg" class="image_responsive"></td>
|
66 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/texture.jpg" class="image_responsive"></td>
|
67 |
|
68 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/tsunami.jpg" class="image_responsive"></td>
|
69 |
-
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/vibrant.jpg" class="image_responsive"></td>
|
70 |
</tr>
|
71 |
</table>
|
72 |
"""
|
|
|
39 |
|
40 |
def gradio_pls():
|
41 |
description="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
Upload a photo and click on submit to see the 12 styles applied to your photo. \n
|
43 |
Keep in mind that for compatibility reasons your photo is cropped before the neural net applied the different styles.
|
44 |
<center>
|
45 |
<table id=table_1><tr>
|
46 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/a_muse_picasso.jpg" class="image_responsive" width=300px height=300px></td>
|
47 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/britto.jpg" class="image_responsive" width=300px height=300px></td>
|
48 |
|
49 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/cat.jpg" class="image_responsive" width=300px height=300px></td>
|
50 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/cubist.jpg" class="image_responsive" width=300px height=300px></td>
|
51 |
|
52 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/fractal.jpg" class="image_responsive" width=300px height=300px></td>
|
53 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/horse.jpg" class="image_responsive" width=300px height=300px></td>
|
54 |
|
55 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/monet.jpg" class="image_responsive" width=300px height=300px></td>
|
56 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/sketch.jpg" class="image_responsive" width=300px height=300px></td>
|
57 |
|
58 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/starry_night.jpg" class="image_responsive" width=300px height=300px></td>
|
59 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/texture.jpg" class="image_responsive" width=300px height=300px></td>
|
60 |
|
61 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/tsunami.jpg" class="image_responsive" width=300px height=300px></td>
|
62 |
+
<td><img src="https://raw.githubusercontent.com/dabidou025/Live-Style-Transfer/main/styles/vibrant.jpg" class="image_responsive" width=300px height=300px></td>
|
63 |
</tr>
|
64 |
</table>
|
65 |
"""
|