Skip to content

Commit 60b6140

Browse files
committed
Error message
1 parent 6d48d4f commit 60b6140

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/evaluate_baselines.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,8 @@ def main():
474474
"Zilliz Semantic-Highlight", baseline_zilliz, samples, model=model
475475
)
476476
)
477-
except ImportError:
478-
logger.error("transformers not available for zilliz model")
479477
except Exception as e:
480-
logger.error(f"Zilliz failed: {e}")
478+
logger.error(f"Zilliz failed: {type(e).__name__}: {e}")
481479

482480
if "gliner2" in baselines:
483481
logger.info("Loading GLiNER2...")

0 commit comments

Comments
 (0)