mattyamonaca commited on
Commit
2ae8042
1 Parent(s): d966012

fix slider

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def draw_lines(x, y):
35
 
36
  # Gradioインターフェース
37
  iface = gr.Interface(fn=draw_lines,
38
- inputs=[gr.inputs.Slider(minimum=0, maximum=1024, default=512, label="X座標"),
39
- gr.inputs.Slider(minimum=0, maximum=1024, default=512, label="Y座標")],
40
  outputs="image",
41
  live=True,
42
  title="VP preprocess")
 
35
 
36
  # Gradioインターフェース
37
  iface = gr.Interface(fn=draw_lines,
38
+ inputs=[gr.Slider(minimum=0, maximum=1024, default=512, label="X座標"),
39
+ gr.Slider(minimum=0, maximum=1024, default=512, label="Y座標")],
40
  outputs="image",
41
  live=True,
42
  title="VP preprocess")