younesbelkada commited on
Commit
11d6ee6
β€’
1 Parent(s): c27c89b

modify description

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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 coefficient",
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>, by adding other attributes such as Hat, Bald, etc. to the generated images. Here is a step-by-step guide to use this interface:
37
  <ul>
38
  <li>🌾 Select the Random seed you want to use to generate the images</li>
39
  <li>&#128450; Select the list of attributes you want to modify (of course, you can mix several attributes)</li>
40
- <li>πŸ›  Select the coefficient of modification (higher value means stronger modification)</li>
41
  <li>πŸ”₯ Submit!</li>
42
  </ul>
43
  &#x2B55; 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>&#128450; 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
  &#x2B55; 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.