ybelkada commited on
Commit
09ef29c
1 Parent(s): 9b3deb1

update app

Browse files
Files changed (2) hide show
  1. .gitignore +0 -1
  2. app.py +4 -0
.gitignore CHANGED
@@ -1 +0,0 @@
1
- *.pkl
 
 
app.py CHANGED
@@ -78,20 +78,24 @@ iface = gr.Interface(
78
  maximum=1000,
79
  step=1,
80
  default=264,
 
81
  ),
82
  gr.inputs.Dropdown(
83
  choices=VALID_CHOICES,
84
  type="value",
 
85
  ),
86
  gr.inputs.Dropdown(
87
  choices=MODEL_NAMES,
88
  type="value",
 
89
  ),
90
  gr.inputs.Slider(
91
  minimum=-3,
92
  maximum=3,
93
  step=0.1,
94
  default=0,
 
95
  ),
96
  ],
97
  outputs=OUTPUT_LIST,
 
78
  maximum=1000,
79
  step=1,
80
  default=264,
81
+ label="Random seed to use for the generation"
82
  ),
83
  gr.inputs.Dropdown(
84
  choices=VALID_CHOICES,
85
  type="value",
86
+ label="Attribute to modify",
87
  ),
88
  gr.inputs.Dropdown(
89
  choices=MODEL_NAMES,
90
  type="value",
91
+ label="Model to use",
92
  ),
93
  gr.inputs.Slider(
94
  minimum=-3,
95
  maximum=3,
96
  step=0.1,
97
  default=0,
98
+ label="Modification coefficient",
99
  ),
100
  ],
101
  outputs=OUTPUT_LIST,