Open xiaoyao9184 opened 2 weeks ago
The FONT_DIR was overridden by an external environment variable, but the final RECOGNITION_RENDER_FONTS still uses the old value. Perhaps I should override RECOGNITION_RENDER_FONTS as well, or make RECOGNITION_RENDER_FONTS a dynamic property, like https://github.com/VikParuchuri/surya/blob/a8b34c442ca55b639b8f76ad4c062a65459b3ace/surya/settings.py#L88-L91.
FONT_DIR
RECOGNITION_RENDER_FONTS
The
FONT_DIR
was overridden by an external environment variable, but the finalRECOGNITION_RENDER_FONTS
still uses the old value. Perhaps I should overrideRECOGNITION_RENDER_FONTS
as well, or makeRECOGNITION_RENDER_FONTS
a dynamic property, like https://github.com/VikParuchuri/surya/blob/a8b34c442ca55b639b8f76ad4c062a65459b3ace/surya/settings.py#L88-L91.