diffsketcher_edit / config.json
jree423's picture
Upload folder using huggingface_hub
8675cd3 verified
{
"architectures": ["DiffSketchEdit"],
"model_type": "diffsketcher_edit",
"task": "svg-editing",
"framework": "pytorch",
"pipeline_tag": "image-generation",
"library_name": "diffvg",
"tags": [
"svg",
"vector-graphics",
"image-editing",
"diffusion",
"sketch-editing"
],
"inference": {
"parameters": {
"input_svg": {
"type": "string",
"default": null,
"description": "Input SVG content to edit (optional)"
},
"edit_instruction": {
"type": "string",
"default": "",
"description": "Instruction for how to edit the SVG"
},
"num_paths": {
"type": "integer",
"default": 128,
"description": "Number of paths in the edited SVG"
},
"num_iter": {
"type": "integer",
"default": 300,
"description": "Number of optimization iterations"
},
"guidance_scale": {
"type": "float",
"default": 7.5,
"description": "Guidance scale for diffusion"
},
"edit_strength": {
"type": "float",
"default": 0.7,
"description": "Strength of the edit (0.0 to 1.0)"
},
"canvas_size": {
"type": "integer",
"default": 256,
"description": "Canvas size for SVG generation"
}
}
}
}