Skip to content

Conversation

mart-r
Copy link
Collaborator

@mart-r mart-r commented Aug 27, 2025

There was an error where the cleanup would instead delete the entire folder instead of just the spacy model folder (if it existed before).

This PR also somewaht simplifies the saving of the spacy model.

EDIT:
To be clear, this issue only affects scenarios where there's an attempt to overwrite an existing model, or (for some other, unclear reason) the spacy model path already exists.

Copy link
Member

@tomolopolis tomolopolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mart-r mart-r merged commit ff76a57 into main Aug 27, 2025
20 checks passed
@mart-r mart-r deleted the CU-869a95nu1-fix-spacy-model-cleanup branch August 27, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants