jiawei-ren commited on
Commit
51a146c
·
1 Parent(s): af66c85
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -265,11 +265,11 @@ if __name__ == '__main__':
265
  iface = gr.Interface(
266
  fn=run,
267
  inputs=[
268
- gr.inputs.Slider(0, 100, default=50, step=0.1, label='Label percentage in [0, 2)'),
269
- gr.inputs.Slider(0, 100, default=50, step=0.1, label='Label percentage in [2, 4)'),
270
- gr.inputs.Slider(0, 100, default=50, step=0.1, label='Label percentage in [4, 6)'),
271
- gr.inputs.Slider(0, 100, default=50, step=0.1, label='Label percentage in [6, 8)'),
272
- gr.inputs.Slider(0, 100, default=50, step=0.1, label='Label percentage in [8, 10)'),
273
  gr.inputs.Number(default=0, label='Random Seed', optional=False),
274
  gr.inputs.Radio(['Prepare Training Data', 'Start Regressing!'],
275
  type="index", default=None, label='Mode', optional=False),
 
265
  iface = gr.Interface(
266
  fn=run,
267
  inputs=[
268
+ gr.inputs.Slider(0, 100, default=20, step=0.1, label='Label percentage in [0, 2)'),
269
+ gr.inputs.Slider(0, 100, default=20, step=0.1, label='Label percentage in [2, 4)'),
270
+ gr.inputs.Slider(0, 100, default=20, step=0.1, label='Label percentage in [4, 6)'),
271
+ gr.inputs.Slider(0, 100, default=20, step=0.1, label='Label percentage in [6, 8)'),
272
+ gr.inputs.Slider(0, 100, default=20, step=0.1, label='Label percentage in [8, 10)'),
273
  gr.inputs.Number(default=0, label='Random Seed', optional=False),
274
  gr.inputs.Radio(['Prepare Training Data', 'Start Regressing!'],
275
  type="index", default=None, label='Mode', optional=False),