Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.26.0
Smoke Signal Tessdata Drop Folder
Put custom Tesseract model files here as .traineddata.
Naming rule:
- Use lowercase + underscores based on detected font name.
- Example:
Gill Sans Infant->gill_sans_infant.traineddata
The OCR runtime will auto-pick models from either:
/tmp/smoke_signal/tessdata/smoke_signal/tessdata/(this folder)
Important:
.otf/.ttffiles are not Tesseract models.- A file like
gill_sans_infant.traineddata.otfis still a font file, not usable by Tesseract OCR.
If your model name is custom and does not match slug, register it once:
from smoke_signal.scripts.font_library import register_font_model
register_font_model("Gill Sans Infant", model_name="my_model_name")