816 B
816 B
WCGA AI validator
- Install the required dependencies
pip install -r requirements.txt
.env variable
mllm_end_point_openai=‘https://hiis-accessibility-fonderia.cognitiveservices.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2025-01-01-preview’
mllm_api_key_openai=
mllm_model_id_openai=‘gpt-4o’
mllm_end_point_local=‘https://vgpu.hiis.cloud.isti.cnr.it/api/chat’
mllm_api_key_local=
#mllm_model_id_local=‘gemma3:12b’
mllm_model_id_local=‘gemma3:4b’
use_openai_model=‘False’ # use ‘True’ if openai else False
For the CLI version use:
python wcag_validator.py
For the RESTservice use:
python wcag_validator_RESTserver.py
For UI use:
python ui_alt_text.py