Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,15 +108,15 @@ async def convert_image(
|
|
| 108 |
# Convert to SVG
|
| 109 |
svg_content = convert_to_vector(
|
| 110 |
image,
|
| 111 |
-
colormode,
|
| 112 |
-
hierarchical,
|
| 113 |
-
mode,
|
| 114 |
-
filter_speckle,
|
| 115 |
-
color_precision,
|
| 116 |
-
layer_difference,
|
| 117 |
-
corner_threshold,
|
| 118 |
-
length_threshold,
|
| 119 |
-
|
| 120 |
splice_threshold=splice_threshold,
|
| 121 |
path_precision=path_precision
|
| 122 |
)
|
|
|
|
| 108 |
# Convert to SVG
|
| 109 |
svg_content = convert_to_vector(
|
| 110 |
image,
|
| 111 |
+
colormode=colormode,
|
| 112 |
+
hierarchical=hierarchical,
|
| 113 |
+
mode=mode,
|
| 114 |
+
filter_speckle=filter_speckle,
|
| 115 |
+
color_precision=color_precision,
|
| 116 |
+
layer_difference=layer_difference,
|
| 117 |
+
corner_threshold=corner_threshold,
|
| 118 |
+
length_threshold=length_threshold,
|
| 119 |
+
max_iterations=max_iterations, # Fixed syntax error
|
| 120 |
splice_threshold=splice_threshold,
|
| 121 |
path_precision=path_precision
|
| 122 |
)
|