Spaces:
Sleeping
Sleeping
mattyamonaca
commited on
Commit
•
a3011de
1
Parent(s):
2ae8042
fix slider
Browse files
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.Slider(minimum=0, maximum=1024,
|
39 |
-
gr.Slider(minimum=0, maximum=1024,
|
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, value=512, label="X座標"),
|
39 |
+
gr.Slider(minimum=0, maximum=1024, value=512, label="Y座標")],
|
40 |
outputs="image",
|
41 |
live=True,
|
42 |
title="VP preprocess")
|