gaur3009 commited on
Commit
f737883
1 Parent(s): 7430fac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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", shape=(256, 256)),
70
  gr.Textbox(label="Text"),
71
- gr.Sketchpad(label="Text Position", shape=(256, 256)),
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", shape=(256, 256))
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()