The code used to generate tags for illustration.
-
Set up the environment
Install dependencies listed inenvironment.txtandrequirements.txt.
For PyTorch, follow the official installation guide to ensure compatibility with your system (e.g. CUDA support). -
Download the model (Optional)
If the model is not already available, run:python download_model.py
-
Start the processor
Launch the main process with:python qwen_processor.py