OpenSTR/app/utils.py