Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -405,7 +405,7 @@ def main():
|
|
405 |
css = """
|
406 |
|
407 |
#component-0 {
|
408 |
-
max-width:
|
409 |
margin: auto;
|
410 |
padding-top: 1.5rem;
|
411 |
}
|
@@ -424,7 +424,7 @@ def main():
|
|
424 |
text-decoration: none;
|
425 |
}
|
426 |
.container {
|
427 |
-
max-width:
|
428 |
margin: auto;
|
429 |
padding-top: 1.5rem;
|
430 |
}
|
@@ -524,7 +524,7 @@ def main():
|
|
524 |
|
525 |
with gr.Row():
|
526 |
sketch_pad = gr.Paint(label="Sketch Pad", elem_id="img2img_image", source='canvas', shape=(512, 512))
|
527 |
-
|
528 |
# sketch_pad = gr.Image(source='canvas', tool='sketch', size=(512, 512))
|
529 |
out_imagebox = gr.Image(type="pil", label="Parsed Sketch Pad")
|
530 |
out_gen_1 = gr.Image(type="pil", visible=True, label="Generated Image")
|
|
|
405 |
css = """
|
406 |
|
407 |
#component-0 {
|
408 |
+
max-width: 550px;
|
409 |
margin: auto;
|
410 |
padding-top: 1.5rem;
|
411 |
}
|
|
|
424 |
text-decoration: none;
|
425 |
}
|
426 |
.container {
|
427 |
+
max-width: 550px;
|
428 |
margin: auto;
|
429 |
padding-top: 1.5rem;
|
430 |
}
|
|
|
524 |
|
525 |
with gr.Row():
|
526 |
sketch_pad = gr.Paint(label="Sketch Pad", elem_id="img2img_image", source='canvas', shape=(512, 512))
|
527 |
+
with gr.Row():
|
528 |
# sketch_pad = gr.Image(source='canvas', tool='sketch', size=(512, 512))
|
529 |
out_imagebox = gr.Image(type="pil", label="Parsed Sketch Pad")
|
530 |
out_gen_1 = gr.Image(type="pil", visible=True, label="Generated Image")
|