Spaces:
Running
Running
set image width
Browse files- svg_editor_gradio.py +1 -1
svg_editor_gradio.py
CHANGED
@@ -45,7 +45,7 @@ def xml_string_to_data_string(svg_xml: str):
|
|
45 |
|
46 |
|
47 |
def html_img_preview(data_string):
|
48 |
-
return f'<img src="{data_string}" style="display: block; margin-left: auto; margin-right: auto;"/>'
|
49 |
|
50 |
|
51 |
image_placeholder = html_img_preview(svg_three_dots)
|
|
|
45 |
|
46 |
|
47 |
def html_img_preview(data_string):
|
48 |
+
return f'<img src="{data_string}" width="100px" style="display: block; margin-left: auto; margin-right: auto;"/>'
|
49 |
|
50 |
|
51 |
image_placeholder = html_img_preview(svg_three_dots)
|