Spaces:
Sleeping
Sleeping
Commit History
-
Copilot: show billing-specific hint on HF Inference 402
colesr +1: Claude Opus 4.7 (1M context)The generic 'check your token / try another model' hint was actively misleading when the real cause was depleted credits. Detect 402 / Payment Required / 'depleted' in the exception text and point at https://huggingface.co/settings/billing instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>4e85bc2 -
Fix HF Space launch: disable SSR, move theme/css to gr.Blocks
colesr +1: Claude Opus 4.7 (1M context)The prior 'move theme/css to launch()' change silently dropped both (launch() doesn't accept them), and Gradio 6.5.1's auto-enabled SSR mode breaks the post-launch localhost reachability check inside the HF Space sandbox, raising the ValueError on every boot. Also add CLAUDE.md to orient future contributors to the single-file architecture. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>bc5a64b
-
Fix Gradio 6 compat: drop more removed Chatbot kwargs
colesr +1: Claude Opus 4.7 (1M context)show_copy_button and avatar_images were also removed in Gradio 6 — strip the Copilot Chatbot to label + height only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>ba32aa5 -
Fix Gradio 6 compat: drop Chatbot type=, move theme/css to launch()
colesr +1: Claude Opus 4.7 (1M context)Gradio 6 removed the `type` kwarg from Chatbot (messages is now the default format) and moved theme + css from the Blocks constructor to launch(). Both surfaced as a hard crash and a UserWarning on Space boot. No behavior change beyond getting the app to start. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>f6e4444 -
Copilot Phase 3: HF OAuth + per-user saved recipes
colesr +1: Claude Opus 4.7 (1M context)Each logged-in user gets a private dataset <username>/datategrity- recipes holding recipes.json — created on first save, read on page load, written on save/delete via the user's own OAuth token. The Space holds no central storage and never sees recipe contents. UI: gr.LoginButton in Settings (manual token relegated to optional fallback); a 📁 Saved recipes accordion in the Copilot right column with Save/Replay/Delete/⟳ controls. run_copilot_turn now prefers the OAuth token when present. README scopes gain write-repos. Replay applies the saved recipe's steps in order against the current dataset via the same _run_cleaning_ops + validate_data_integrity paths Phase 2 uses, appending each step to copilot_recipe_state with provenance noted in the rationale. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>6ea6dd2 -
Copilot Phase 2: staged proposals, approval UX, recipe
colesr +1: Claude Opus 4.7 (1M context)Adds two new tools — propose_validation_rules and propose_cleaning_ operations — that queue actions for user approval instead of running them. _dispatch_tool now returns (result, optional_proposal). Copilot tab grows a right-column panel with cleaning/validation-styled cards, selector + Apply/Reject controls, and a recipe timeline of applied actions. Applying a cleaning proposal mutates data_state via a pure _run_cleaning_ops helper (clean_data is left untouched). Applying a validation proposal re-runs the rules and pipes them into rules_input so they live on in the Validation & Cleaning tab. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>f1007ba -
Add Copilot tab (Phase 1: agentic, read-only)
colesr +1: Claude Opus 4.7 (1M context)Wraps the existing handlers (analyze_data_quality, detect_anomalies, validate_data_integrity) as three read-only tools and drives them with an InferenceClient tool-calling loop. New ✨ Copilot tab adds a chat + tool-trace panel; Settings gains a Copilot model dropdown and a max-tool-call-steps slider. No mutations to data_state in this phase; legacy AI Assistant tab is unchanged to preserve its public API. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>a4539ef -
Revamp UI: minimalist slate theme + subtle motion
colesr +1: Claude Opus 4.7 (1M context)Adds a custom Gradio theme (Inter/JetBrains Mono, neutral slate palette, soft focus rings) and CSS for a refined hero, animated tab underline, micro-lift buttons, and gentle page/tab fade-ins. Logic, components, and event wiring are unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>41cf14d
-
Update app.py
Verified signature4138d50 -
Update app.py
Verified signaturee5c385d -
Update app.py
Verified signaturec25b2e8 -
Update app.py
Verified signaturecf668da -
Update app.py from anycoder
Verified signature5bc9e76 -
Update app.py from anycoder
Verified signature890263d -
Update app.py from anycoder
Verified signature6d118d9 -
Update app.py from anycoder
Verified signature9c060cb -
Update app.py from anycoder
Verified signature1929045 -
Update app.py from anycoder
Verified signature6f9b383 -
Update app.py
Verified signature71dad6d -
Update app.py from anycoder
Verified signature5fda37b -
Update app.py from anycoder
Verified signature8ae8da0 -
Update app.py from anycoder
Verified signature94d6f8b -
Update app.py from anycoder
Verified signature18eb2e8 -
Update app.py from anycoder
Verified signature4abbfec -
Update app.py from anycoder
Verified signature37d9d8e -
Update app.py from anycoder
Verified signature6640d8a -
Update app.py from anycoder
Verified signature485621c -
Update app.py from anycoder
Verified signatureaf2341b -
Update app.py from anycoder
Verified signature5645713 -
Update app.py from anycoder
Verified signature50b957a -
Update app.py from anycoder
Verified signaturecd86b6a -
Update app.py from anycoder
Verified signaturee779c77 -
Update app.py from anycoder
Verified signature1a47520 -
Update app.py from anycoder
Verified signature64f42fb -
initial commit
Verified signature8964def -
Duplicate from gradio-templates/chatbot
Co-authored-by: Pete <pngwn@users.noreply.huggingface.co>2f06f14