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