bcql_py_validation / README.md
BramVanroy's picture
Sync from GitHub via hub-sync
b7c4d3b verified

A newer version of the Gradio SDK is available: 6.14.0

Upgrade
metadata
title: BCQL Validator
emoji: 🔎
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 6.13.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: Validate BlackLab Corpus Query Language queries.

BCQL Validator (Gradio demo)

A small Gradio app that demonstrates bcql_py: parse a BCQL query, validate it against a built-in or custom CorpusSpec, and inspect the resulting AST.

The hosted demo lives at huggingface.co/spaces/BramVanroy/bcql_py_validation.

Run locally

From the repository root:

uv sync --group app
uv run python app/app.py

Then open the URL printed in the terminal (default http://localhost:7860).

Files

  • app.py - Gradio Blocks app and validation logic.
  • requirements.txt - Pinned dependencies used by Hugging Face Spaces. Local development should use uv sync --group app instead so that the in-repo source of bcql_py is used.