Remove Gradio GUI and Hugging Face deployment (keep view.py refactor) - #22
Merged
Conversation
Hugging Face Gradio Spaces are no longer free, so drop the Gradio front-end and the HF publish path, keeping the NiceGUI GUI as the only front-end. The shared view logic refactor (conflens/view.py) is kept — app.py still uses it. Removed: - conflens/gradio_app.py, space_app.py, requirements.txt (HF Space entry/deps) - .github/workflows/sync-hf-space.yml + .github/huggingface/ (HF sync + metadata) - tests/test_gradio_app.py - pyproject: the `gradio` extra and the `conflens-gradio` console script - test.yml: revert to `uv sync` (no gradio extra); uv.lock re-locked (gradio gone) Docs (README, AGENTS, CLAUDE, ARCHITECTURE) updated back to a single NiceGUI front-end while keeping view.py as the GUI-agnostic view layer.
This was referenced Jul 21, 2026
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.
Summary
Hugging Face Gradio Spaces are no longer free, so this removes the Gradio front-end and the HF publish path, leaving NiceGUI as the single GUI. The
view.pyrefactor is kept —app.pystill delegates its filter/sort/highlight/compute-view/export logic to it.Removed
conflens/gradio_app.py,space_app.py,requirements.txt(HF Space entry point + deps).github/workflows/sync-hf-space.ymland.github/huggingface/(HF sync workflow + Space metadata)tests/test_gradio_app.pypyproject.toml: thegradiooptional extra and theconflens-gradioconsole script.github/workflows/test.yml: back touv sync(no--extra gradio);uv.lockre-locked (gradio and its deps gone)Kept (the refactor)
conflens/view.py— GUI-agnostic view logic (keywords/matches/highlight/sort_papers/compute_view, CSV/JSON export bytes)tests/test_view.py, andtests/test_matching.pystill pointing atviewDocs
README, AGENTS, CLAUDE, and ARCHITECTURE updated back to a single NiceGUI front-end (removed the "two front-ends" framing and the "Deploy to Hugging Face Spaces" section), keeping
view.pydocumented as the view layer.Testing
uv run ruff check .— cleanuv run pytest -q— 67 passed (base install, no gradio extra)Related open PRs to close
The earlier HF-fix PRs are now moot and should be closed (their target — the HF sync — is being removed): #20 (HF owner) and #21 (HF runtime/CPU). PR #19 (non-claude branch naming) is unrelated and still valid.
Generated by Claude Code