Skip to content

Commit a88cea5

Browse files
committed
review feedback
Signed-off-by: Huamin Chen <[email protected]>
1 parent b7c2456 commit a88cea5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

candle-binding/src/ffi/init.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,9 @@ pub extern "C" fn init_candle_bert_token_classifier(
601601
use_cpu,
602602
) {
603603
Ok(classifier) => {
604-
crate::model_architectures::traditional::bert::TRADITIONAL_BERT_TOKEN_CLASSIFIER.set(Arc::new(classifier)).is_ok()
604+
crate::model_architectures::traditional::bert::TRADITIONAL_BERT_TOKEN_CLASSIFIER
605+
.set(Arc::new(classifier))
606+
.is_ok()
605607
}
606608
Err(e) => {
607609
eprintln!(

0 commit comments

Comments
 (0)