Johannes
commited on
Commit
·
4b6052a
1
Parent(s):
0e2e0a2
minimal adpations
Browse files
app.py
CHANGED
|
@@ -67,8 +67,8 @@ gr.Interface(
|
|
| 67 |
description=description,
|
| 68 |
article=article,
|
| 69 |
fn=infer,
|
| 70 |
-
inputs=[gr.Image(source="canvas", tool="sketch", label="
|
| 71 |
gr.Number(label="Number of circles to draw", value=4, precision=0),
|
| 72 |
gr.Slider(label="Circle Radius", minimum=5, maximum=25, value=15, step=1)],
|
| 73 |
-
outputs=[gr.Plot(label="
|
| 74 |
).launch()
|
|
|
|
| 67 |
description=description,
|
| 68 |
article=article,
|
| 69 |
fn=infer,
|
| 70 |
+
inputs=[gr.Image(source="canvas", tool="sketch", label="Mark the Circle Centers", shape=[100, 100]),
|
| 71 |
gr.Number(label="Number of circles to draw", value=4, precision=0),
|
| 72 |
gr.Slider(label="Circle Radius", minimum=5, maximum=25, value=15, step=1)],
|
| 73 |
+
outputs=[gr.Plot(label="Output Plot")]
|
| 74 |
).launch()
|