Spaces:
Runtime error
Runtime error
modify description
Browse files- app.py +1 -1
- utils/constants.py +2 -2
app.py
CHANGED
@@ -69,7 +69,7 @@ iface = gr.Interface(
|
|
69 |
maximum=3,
|
70 |
step=0.1,
|
71 |
default=1,
|
72 |
-
label="Modification
|
73 |
),
|
74 |
gr.inputs.Slider(
|
75 |
minimum=1,
|
|
|
69 |
maximum=3,
|
70 |
step=0.1,
|
71 |
default=1,
|
72 |
+
label="Modification scale",
|
73 |
),
|
74 |
gr.inputs.Slider(
|
75 |
minimum=1,
|
utils/constants.py
CHANGED
@@ -33,11 +33,11 @@ OUTPUT_LIST = [
|
|
33 |
# """
|
34 |
description = """
|
35 |
<p>
|
36 |
-
This is an interactive demo of an extension of the <a href="https://genforce.github.io/interfacegan/">CVPR2020 InterfaceGAN paper</a>,
|
37 |
<ul>
|
38 |
<li>πΎ Select the Random seed you want to use to generate the images</li>
|
39 |
<li>🗂 Select the list of attributes you want to modify (of course, you can mix several attributes)</li>
|
40 |
-
<li>π Select the
|
41 |
<li>π₯ Submit!</li>
|
42 |
</ul>
|
43 |
⭕ This method is biased on the data it has been trained for attribute recognition. E.g. if you decide to modify the "Bald" attribute on Female faces, the method will turn it into Male faces. Future work may focus more on this direction to try to have unbiased results of the modifications.
|
|
|
33 |
# """
|
34 |
description = """
|
35 |
<p>
|
36 |
+
This is an interactive demo of an extension of the <a href="https://genforce.github.io/interfacegan/">CVPR2020 InterfaceGAN paper</a>, which adds other attributes such as Hat, Bald, etc. to the generated images. Here is a step-by-step guide to use this space:
|
37 |
<ul>
|
38 |
<li>πΎ Select the Random seed you want to use to generate the images</li>
|
39 |
<li>🗂 Select the list of attributes you want to modify (of course, you can mix several attributes)</li>
|
40 |
+
<li>π Select the modification scale (higher value means stronger modification)</li>
|
41 |
<li>π₯ Submit!</li>
|
42 |
</ul>
|
43 |
⭕ This method is biased on the data it has been trained for attribute recognition. E.g. if you decide to modify the "Bald" attribute on Female faces, the method will turn it into Male faces. Future work may focus more on this direction to try to have unbiased results of the modifications.
|