Spaces:
Build error
Build error
Commit ·
2ae8042
1
Parent(s): d966012
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.
|
| 39 |
-
gr.
|
| 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")
|