Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -682,6 +682,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 682 |
image_mode='RGBA',
|
| 683 |
sources=['upload', 'clipboard', 'webcam'],
|
| 684 |
transforms=['crop'],
|
|
|
|
| 685 |
crop_size=(opt.width, opt.height),
|
| 686 |
brush=gr.Brush(
|
| 687 |
colors=opt.colors[1:],
|
|
|
|
| 682 |
image_mode='RGBA',
|
| 683 |
sources=['upload', 'clipboard', 'webcam'],
|
| 684 |
transforms=['crop'],
|
| 685 |
+
canvas_size=(opt.width, opt.height),
|
| 686 |
crop_size=(opt.width, opt.height),
|
| 687 |
brush=gr.Brush(
|
| 688 |
colors=opt.colors[1:],
|