Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,11 +124,9 @@ with gr.Blocks() as iface:
|
|
124 |
eraser=gr.Eraser(default_size=10),
|
125 |
height=400,
|
126 |
width=400,
|
127 |
-
crop_size=
|
128 |
layers=True,
|
129 |
-
type="pil"
|
130 |
-
fit="cover",
|
131 |
-
allow_crop=True
|
132 |
)
|
133 |
with gr.Column(scale=2):
|
134 |
image_editor2 = gr.ImageEditor(
|
@@ -137,11 +135,9 @@ with gr.Blocks() as iface:
|
|
137 |
eraser=gr.Eraser(default_size=10),
|
138 |
height=400,
|
139 |
width=400,
|
140 |
-
crop_size=
|
141 |
layers=True,
|
142 |
-
type="pil"
|
143 |
-
fit="cover",
|
144 |
-
allow_crop=True
|
145 |
)
|
146 |
|
147 |
with gr.Row():
|
|
|
124 |
eraser=gr.Eraser(default_size=10),
|
125 |
height=400,
|
126 |
width=400,
|
127 |
+
crop_size=(256, 256),
|
128 |
layers=True,
|
129 |
+
type="pil"
|
|
|
|
|
130 |
)
|
131 |
with gr.Column(scale=2):
|
132 |
image_editor2 = gr.ImageEditor(
|
|
|
135 |
eraser=gr.Eraser(default_size=10),
|
136 |
height=400,
|
137 |
width=400,
|
138 |
+
crop_size=(256, 256),
|
139 |
layers=True,
|
140 |
+
type="pil"
|
|
|
|
|
141 |
)
|
142 |
|
143 |
with gr.Row():
|