Spaces:
Runtime error
Runtime error
change md style
Browse files- utils/constants.py +27 -10
utils/constants.py
CHANGED
@@ -17,18 +17,35 @@ OUTPUT_LIST = [
|
|
17 |
gr.outputs.Image(type="pil", label="Modified Images"),
|
18 |
]
|
19 |
description = """
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
<li style="list-style-type: none;">π₯ Submit!</li>
|
28 |
-
</ul>
|
29 |
-
Check the <a href="https://github.com/genforce/interfacegan">original repo</a> as well as the <a href="https://github.com/younesbelkada/interfacegan">extended version of the work</a>.
|
30 |
|
31 |
</center>
|
32 |
</p>
|
33 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
title = "InterfaceGAN++ Demo"
|
|
|
17 |
gr.outputs.Image(type="pil", label="Modified Images"),
|
18 |
]
|
19 |
description = """
|
20 |
+
This is an interactive demo of an extension of the [CVPR2020 InterfaceGAN paper](https://genforce.github.io/interfacegan/), by adding other attributes such as Hat, Bald, etc. to the generated images. Here is a step-by-step guide to use this interface:
|
21 |
+
+ πΎ Select the Random seed you want to use to generate the images
|
22 |
+
+ 🗂 Select the list of attributes you want to modify (of course, you can mix several attributes)
|
23 |
+
+ π Select the coefficient of modification (higher value means stronger modification)
|
24 |
+
+ π₯ Submit!
|
25 |
+
|
26 |
+
Check the [original repo](https://github.com/genforce/interfacegan) as well as the [extended version of the work](https://github.com/younesbelkada/interfacegan).
|
|
|
|
|
|
|
27 |
|
28 |
</center>
|
29 |
</p>
|
30 |
"""
|
31 |
+
# description = """
|
32 |
+
# <p>
|
33 |
+
# <center>
|
34 |
+
# <style type="text/css">
|
35 |
+
# .nobull {
|
36 |
+
# list-style-type: none;
|
37 |
+
# }
|
38 |
+
# </style>
|
39 |
+
# This is an interactive demo of an extension of the <a href="https://genforce.github.io/interfacegan/">CVPR2020 InterfaceGAN paper</a>, by adding other attributes such as Hat, Bald, etc. to the generated images. Here is a step-by-step guide to use this interface:
|
40 |
+
# <ul style="nobull">
|
41 |
+
# <li>πΎ Select the Random seed you want to use to generate the images</li>
|
42 |
+
# <li>🗂 Select the list of attributes you want to modify (of course, you can mix several attributes)</li>
|
43 |
+
# <li>π Select the coefficient of modification (higher value means stronger modification)</li>
|
44 |
+
# <li>π₯ Submit!</li>
|
45 |
+
# </ul>
|
46 |
+
# Check the <a href="https://github.com/genforce/interfacegan">original repo</a> as well as the <a href="https://github.com/younesbelkada/interfacegan">extended version of the work</a>.
|
47 |
+
|
48 |
+
# </center>
|
49 |
+
# </p>
|
50 |
+
# """
|
51 |
title = "InterfaceGAN++ Demo"
|