This project provides a backend service for converting images to SVG format using the StarVector-1B model from Hugging Face. It is designed to run locally or on cloud platforms like Google Colab, with a React frontend for user interaction.
requirements.txtmain.py to convert a test image to SVG.HF_TOKEN: Hugging Face access token.USE_FLASH_ATTN=0: Disable FlashAttention for compatibility.TRANSFORMERS_ATTN_IMPLEMENTATION=eager: Force CPU-compatible attention.5 commits
JavaScript
34.2%
CSS
27.3%
Python
21.4%
HTML
12.1%
Dockerfile
5.1%
This project provides a backend service for converting images to SVG format using the StarVector-1B model from Hugging Face. It is designed to run locally or on cloud platforms like Google Colab, with a React frontend for user interaction.
requirements.txtmain.py to convert a test image to SVG.HF_TOKEN: Hugging Face access token.USE_FLASH_ATTN=0: Disable FlashAttention for compatibility.TRANSFORMERS_ATTN_IMPLEMENTATION=eager: Force CPU-compatible attention.5 commits
JavaScript
34.2%
CSS
27.3%
Python
21.4%
HTML
12.1%
Dockerfile
5.1%