Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,17 +66,17 @@ interface = gr.Interface(
|
|
66 |
gr.Image(type="pil"),
|
67 |
gr.ColorPicker(label="Color"),
|
68 |
gr.File(label="Design"),
|
69 |
-
gr.Sketchpad(label="Design Position"
|
70 |
gr.Textbox(label="Text"),
|
71 |
-
gr.Sketchpad(label="Text Position"
|
72 |
gr.Slider(10, 100, step=1, default=20, label="Font Size"),
|
73 |
gr.ColorPicker(label="Font Color"),
|
74 |
gr.Slider(50, 1000, step=1, default=None, label="Resize"),
|
75 |
gr.Slider(0, 360, step=1, default=None, label="Rotate"),
|
76 |
-
gr.Sketchpad(label="Crop Area"
|
77 |
],
|
78 |
outputs=gr.Image(type="pil"),
|
79 |
live=True
|
80 |
)
|
81 |
|
82 |
-
interface.launch()
|
|
|
66 |
gr.Image(type="pil"),
|
67 |
gr.ColorPicker(label="Color"),
|
68 |
gr.File(label="Design"),
|
69 |
+
gr.Sketchpad(label="Design Position"),
|
70 |
gr.Textbox(label="Text"),
|
71 |
+
gr.Sketchpad(label="Text Position"),
|
72 |
gr.Slider(10, 100, step=1, default=20, label="Font Size"),
|
73 |
gr.ColorPicker(label="Font Color"),
|
74 |
gr.Slider(50, 1000, step=1, default=None, label="Resize"),
|
75 |
gr.Slider(0, 360, step=1, default=None, label="Rotate"),
|
76 |
+
gr.Sketchpad(label="Crop Area")
|
77 |
],
|
78 |
outputs=gr.Image(type="pil"),
|
79 |
live=True
|
80 |
)
|
81 |
|
82 |
+
interface.launch()
|