Skip to content

some changes made in sqlite-hf #1

Open
dewasahu2003 wants to merge 2 commits intonoahgift:mainfrom
dewasahu2003:main
Open

some changes made in sqlite-hf #1
dewasahu2003 wants to merge 2 commits intonoahgift:mainfrom
dewasahu2003:main

Conversation

@dewasahu2003
Copy link
Copy Markdown

  • avoiding duplicate label insertion
  • avoiding creating table if it is already exisiting

- first line in sql checks whether the table is present or not , if present then it will not create it 
- second line deletes every label and creates new label -- thus avoiding dupication
- now ,when we can `cargo run candidates` we only get label that are not duplicate
Avoiding Adding Duplicate Label to sqlite db
nbenaglia pushed a commit to nbenaglia/rust-mlops-template that referenced this pull request Feb 13, 2025
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