Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ def show(svg_file):
|
|
44 |
cairosvg.svg2png(
|
45 |
bytestring=svg_content,
|
46 |
write_to=output_path,
|
47 |
-
output_width=
|
48 |
-
output_height=
|
49 |
)
|
50 |
|
51 |
# Load the PNG as a PIL image
|
|
|
44 |
cairosvg.svg2png(
|
45 |
bytestring=svg_content,
|
46 |
write_to=output_path,
|
47 |
+
output_width=1600, # Default width if not specified
|
48 |
+
output_height=1200 # Default height if not specified
|
49 |
)
|
50 |
|
51 |
# Load the PNG as a PIL image
|