Python - Update bindings

This commit is contained in:
Anthony MOI
2020-08-17 18:03:25 -05:00
committed by Anthony MOI
parent ed9da7731a
commit f92c9955e7
5 changed files with 55 additions and 4 deletions

View File

@@ -106,6 +106,8 @@ fn normalizers(_py: Python, m: &PyModule) -> PyResult<()> {
/// Tokenizers Module
#[pymodule]
fn tokenizers(_py: Python, m: &PyModule) -> PyResult<()> {
env_logger::init_from_env("TOKENIZERS_LOG");
// Register the fork callback
#[cfg(target_family = "unix")]
unsafe {