hysts HF staff commited on
Commit
6d55a5a
1 Parent(s): ba37cb9
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -100,14 +100,14 @@ def main():
100
  gr.Interface(
101
  func,
102
  [
103
- gr.inputs.Image(type='pil', label='Input'),
104
- gr.inputs.Slider(0,
105
- 1,
106
- step=args.score_slider_step,
107
- default=args.score_threshold,
108
- label='Score Threshold'),
109
  ],
110
- gr.outputs.Label(label='Output'),
111
  examples=examples,
112
  title=TITLE,
113
  description=DESCRIPTION,
 
100
  gr.Interface(
101
  func,
102
  [
103
+ gr.Image(type='pil', label='Input'),
104
+ gr.Slider(0,
105
+ 1,
106
+ step=args.score_slider_step,
107
+ default=args.score_threshold,
108
+ label='Score Threshold'),
109
  ],
110
+ gr.Label(label='Output'),
111
  examples=examples,
112
  title=TITLE,
113
  description=DESCRIPTION,