CoolFace
Apppublic

pearlyn/bis_compliance

sourceHugging Facemitupdated 5mo agoView on Hugging Face
1likes
App README

StandardsIQ - BIS Compliance for MSMEs

AI-powered BIS standards recommendation engine for Indian Micro and Small Enterprises.

Enter a product description -> get the top 3-5 applicable BIS standards with confidence scores and rationale.

Hugging Face Spaces setup

This repo is ready for Docker-based Hugging Face Spaces.

Index artifacts are loaded from the Hugging Face dataset repo:

pearlyn/bis_compliance

The app expects these files in that dataset repo:

text faiss.index bm25.pkl chunks.pkl idf.pkl whitelist.pkl config.json

In your Space settings, add a secret:

text HF_TOKEN=<your Hugging Face token>

The code reads HF_TOKEN automatically and downloads the files with:

text repo_type="dataset"

Optional environment variables:

text HFDATASETREPOID=pearlyn/biscompliance BISINDEXDIR=/tmp/index

If the index files are committed inside bis_compliance/, the app uses them directly. If not, it downloads them into /tmp/index at startup.