Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def png2svg(png_file,png_b64,svg_file,
|
|
35 |
|
36 |
|
37 |
if len(png_b64):
|
38 |
-
png_file = b64_2_img(png_b64
|
39 |
|
40 |
params = {'colormode': colormode,
|
41 |
'hierarchical': hierarchical,
|
|
|
35 |
|
36 |
|
37 |
if len(png_b64):
|
38 |
+
png_file = b64_2_img(png_b64.replace('data:image/png;base64,',''))
|
39 |
|
40 |
params = {'colormode': colormode,
|
41 |
'hierarchical': hierarchical,
|