shon-otmazgin / fastcoref

MIT License
142 stars 25 forks source link

Disable progress bar for inference #16

Closed radandreicristian closed 1 year ago

radandreicristian commented 1 year ago

Hello!

Is it possible to disable the progress bar at inference? In CorefModel._inference, I see that the progress bar is explicitly added via with tqdm(...):.

Exposing this model in a production service/API would flood the logs with progress bars, making them very noisy.

Happy to submit a PR.

shon-otmazgin commented 1 year ago

release at version 2.1.1