VisA Defect Classifier — MoE Router + Experts

by sardarbipulco.huggingface.sardarbipul/visa-defect-classifier

How the score works

  • Remote endpoint
  • 1 tool

Tools

  • visa_defect_classifier_inspect_image Inspect a product/component image for surface defects. Runs the Mixture-of-Experts pipeline: a 12-class ResNet-18 router predicts the product category, then the matching per-category ResNet-18 expert classifies the part as normal or anomaly. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: A tuple of (verdict banner HTML, top-3 router category distribution,, full raw JSON response).

As the server's own listing gives them. We never call a tool.