Jellyfish042's picture
Checkpoint before tooltip palette update
350392a

A newer version of the Gradio SDK is available: 6.12.0

Upgrade

Golden Snapshots

This folder stores render-model JSON and HTML snapshots for regression checks.

Suggested naming:

  • sample_01.render_model.json
  • sample_01.output.html

Keep these files in sync with tests/samples/.

Generate snapshots with: conda run -n torch2 python tests/generate_snapshots.py --out tests/golden

Generate a candidate snapshot: conda run -n torch2 python tests/generate_snapshots.py --out tests/_out

Compare snapshots: conda run -n torch2 python tests/compare_snapshots.py --baseline tests/golden/stress.render_model.json --candidate tests/_out/stress.render_model.json

Compare HTML output: conda run -n torch2 python tests/compare_html.py --baseline tests/golden/stress.output.html --candidate tests/_out/stress.output.html