Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -9,6 +9,9 @@ tags:
|
|
| 9 |
- diffusion
|
| 10 |
pipeline_tag: text-to-image
|
| 11 |
inference: true
|
|
|
|
|
|
|
|
|
|
| 12 |
model-index:
|
| 13 |
- name: DiffSketcher
|
| 14 |
results:
|
|
@@ -26,28 +29,17 @@ model-index:
|
|
| 26 |
|
| 27 |
# DiffSketcher
|
| 28 |
|
| 29 |
-
**Text-guided vector
|
| 30 |
|
| 31 |
</div>
|
| 32 |
|
| 33 |
-
##
|
| 34 |
-
## [S2] You provide a text prompt and get SVG output.
|
| 35 |
-
## [S1] Amazing! Let me try it.
|
| 36 |
-
|
| 37 |
-
<div align="center">
|
| 38 |
-
<img src="https://huggingface.co/jree423/diffsketcher/resolve/main/model_preview.svg" alt="DiffSketcher Preview" width="600"/>
|
| 39 |
-
</div>
|
| 40 |
|
| 41 |
DiffSketcher is a vector graphics model that converts text descriptions into scalable vector graphics (SVG). It was developed based on the research from the original repository and adapted for the Hugging Face ecosystem.
|
| 42 |
|
| 43 |
-
##
|
| 44 |
|
| 45 |
-
|
| 46 |
-
- Output both SVG and PNG formats
|
| 47 |
-
- Scalable and editable results
|
| 48 |
-
- Controllable generation parameters
|
| 49 |
-
|
| 50 |
-
## Usage with Inference API
|
| 51 |
|
| 52 |
```python
|
| 53 |
import requests
|
|
@@ -89,16 +81,3 @@ image.save("output.png")
|
|
| 89 |
- The model works best with descriptive, clear prompts
|
| 90 |
- Complex scenes may not be rendered with perfect accuracy
|
| 91 |
- Generation time can vary based on the complexity of the prompt
|
| 92 |
-
|
| 93 |
-
## Citation
|
| 94 |
-
|
| 95 |
-
If you use this model in your research, please cite the original work:
|
| 96 |
-
|
| 97 |
-
```
|
| 98 |
-
@inproceedings{ximing2023vectorgraphics,
|
| 99 |
-
title="Vector Graphics Synthesis",
|
| 100 |
-
author="Author, A. and Author, B.",
|
| 101 |
-
booktitle="Conference",
|
| 102 |
-
year="2023"
|
| 103 |
-
}
|
| 104 |
-
```
|
|
|
|
| 9 |
- diffusion
|
| 10 |
pipeline_tag: text-to-image
|
| 11 |
inference: true
|
| 12 |
+
inference_providers:
|
| 13 |
+
- cpu
|
| 14 |
+
- gpu
|
| 15 |
model-index:
|
| 16 |
- name: DiffSketcher
|
| 17 |
results:
|
|
|
|
| 29 |
|
| 30 |
# DiffSketcher
|
| 31 |
|
| 32 |
+
**Text-guided vector graphics synthesis**
|
| 33 |
|
| 34 |
</div>
|
| 35 |
|
| 36 |
+
## Model Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
DiffSketcher is a vector graphics model that converts text descriptions into scalable vector graphics (SVG). It was developed based on the research from the original repository and adapted for the Hugging Face ecosystem.
|
| 39 |
|
| 40 |
+
## How to Use
|
| 41 |
|
| 42 |
+
You can use this model through the Hugging Face Inference API:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
```python
|
| 45 |
import requests
|
|
|
|
| 81 |
- The model works best with descriptive, clear prompts
|
| 82 |
- Complex scenes may not be rendered with perfect accuracy
|
| 83 |
- Generation time can vary based on the complexity of the prompt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|