DuyTa's picture
Upload folder using huggingface_hub
bc20498 verified
raw
history blame
250 Bytes
import {InternSet} from "internmap";
export default function difference(values, ...others) {
values = new InternSet(values);
for (const other of others) {
for (const value of other) {
values.delete(value);
}
}
return values;
}