Spaces:
Running
on
L4
Running
on
L4
Upload app.py
Browse files
app.py
CHANGED
@@ -368,6 +368,16 @@ def create_interface():
|
|
368 |
- **Image-to-SVG**: Upload a PNG image and click "Generate SVG"
|
369 |
- **Text-to-SVG**: Enter a text description or click an example, then click "Generate SVG"
|
370 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
""")
|
372 |
|
373 |
return demo
|
|
|
368 |
- **Image-to-SVG**: Upload a PNG image and click "Generate SVG"
|
369 |
- **Text-to-SVG**: Enter a text description or click an example, then click "Generate SVG"
|
370 |
|
371 |
+
### Performance Tips:
|
372 |
+
- **Image-to-SVG**: Input images with a white background in JPG format, or using 4-channel PNG images. This will help achieve better results.
|
373 |
+
- **Text-to-SVG**: Keep descriptions concise and specific. Focus on 2-3 main elements with clear spatial relationships. Avoid overly complex prompts with too many objects or detailed arrangements, as this may reduce generation quality.
|
374 |
+
|
375 |
+
### Supported Descriptions:
|
376 |
+
- **Objects**: circle, square, triangle, rectangle, star, polygon, heart, diamond, hexagon, oval
|
377 |
+
- **Colors**: red, blue, green, yellow, purple, orange, pink, black, white, gray, brown, cyan
|
378 |
+
- **Formations**: arranged in a row, arranged in a circle, grid pattern, scattered, clustered, stacked
|
379 |
+
- **Styles**: filled, outlined, gradient, striped, dotted, solid, transparent, shaded
|
380 |
+
|
381 |
""")
|
382 |
|
383 |
return demo
|