docs(aggregation): Add hosted interactive plotter webapp - #772
Open
KhusPatel4450 wants to merge 1 commit into
Open
docs(aggregation): Add hosted interactive plotter webapp#772KhusPatel4450 wants to merge 1 commit into
KhusPatel4450 wants to merge 1 commit into
Conversation
KhusPatel4450
requested review from
a team,
PierreQuinton and
ValerianRey
as code owners
August 1, 2026 16:36
Member
|
Thank you very much for taking this! Could you deploy it on under some random name on HF so that we it already? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a self-contained Dash webapp in
visualization/that hosts the interactive gradient plotter, and a GitHub Actions workflow that auto-deploys it to Hugging Face Spaces on every push tomain.visualization/app.py, Dash app refactored fromtests/plots/interactive_plotter.pyvisualization/_utils.py, plotting utilities (copy oftests/plots/_utils.py)visualization/requirements.txt+visualization/Dockerfile, for HF Spaces (Docker SDK)visualization/README.md, HF Spaces metadata.github/workflows/deploy-visualization.yml, deploysvisualization/to HF Spaces on push tomainThe app accepts query parameters so individual aggregator pages can embed it with a pre-selected method (as suggested by @PierreQuinton)
Before we can deploy we need to do this:
torchjd/interactive-plotterwith Docker as the SDKHF_TOKEN(an HF token with write access to that Space) as a GitHub Actions secretOnce those are in place, any push to
mainthat touchesvisualization/will redeploy automatically