Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def upload_to_aws(local_file, s3_file):
|
|
| 26 |
print("Credentials not available")
|
| 27 |
return None
|
| 28 |
|
| 29 |
-
def
|
| 30 |
color_precision, layer_difference, corner_threshold,
|
| 31 |
length_threshold, max_iterations, splice_threshold, path_precision):
|
| 32 |
"""Converts an image from a URL to SVG using vtracer with customizable parameters."""
|
|
|
|
| 26 |
print("Credentials not available")
|
| 27 |
return None
|
| 28 |
|
| 29 |
+
def convert_image(image_url, color_mode, hierarchical, mode, filter_speckle,
|
| 30 |
color_precision, layer_difference, corner_threshold,
|
| 31 |
length_threshold, max_iterations, splice_threshold, path_precision):
|
| 32 |
"""Converts an image from a URL to SVG using vtracer with customizable parameters."""
|