Spaces:
Sleeping
Sleeping
Commit History
-
Release v1.0.0: Official milestone with Alchemical Feedback, Thinking Model support, and Zoom-In Prompt editing.
c60a62f -
pref: Finalize Cloud deployment v0.1.5 with UI refinements
- Full engine isolation: ComfyUI & Ollama now correctly tag as '(Local Only)' when deployed on Hugging Face Spaces. - Smart engine prioritization: Hugging Face engines are now the hard-coded default when running in a Space environment. - Synthesis feedback: Integrated 'Loader2' spinners and processing states for 'Refine' and 'Synthesize' actions. - Lightbox UX: Refactored fullscreen viewer to maximize space for 9:16 portraits by moving the download button to a subtle top-right icon. - Version tracking: Bumped application version across the board to v0.1.5.ccc9c4e -
fix: Update Cloud UI constraint labels
- Changed `(Cloud Only)` to `(Local Only)` on the disabled dropdown options when the application is running in the cloud to correctly reflect their availability context.7973b76 -
fix: Overhaul dropdown logic for Cloud deployment contexts
- Exposed `.is_hf_space` state parameter from FastAPI to the frontend. - ComfyUI & Ollama options now gracefully grey out showing "(Cloud Only)" when they detect remote HF Spaces deployment constraint context instead of generic offline warnings. - Missing Token warnings on HF selection are now accurately repressed in the dropdowns if the user natively signs in through OAuth.33b76fc -
fix: Resolve HF Hub TS error and display app version
- Fixed an `@huggingface/hub` TypeScript type mismatch in `oauthHandleRedirectIfPresent` compilation. - Added `v0.1.0` dynamically below the Chronicle Portrait Studio logo for better version traceability in the UI.5ff1248 -
fix: Expose Oauth Client ID to static frontend
- Added `/api/config/oauth` GET endpoint to FastAPI to expose the Space's automatically injected `OAUTH_CLIENT_ID`. - Modified `ClientApp.tsx` to fetch the Client ID before attempting OAuth redirect validation or login URL generation. - Fixes "Missing clientId" errors thrown by `@huggingface/hub` caused by the static Next.js HTML being completely disconnected from the Docker container's environment variables.424b15d -
fix: Add OAuth scopes to README and improve Space HF Login error logging
- Added `hf_oauth_scopes: - inference-api` to the `README.md` metadata. Without this, the Hugging Face Space wrapper rejects login requests requesting inference scopes. - Improved the `catch` block in `handleHFLogin` inside `ClientApp.tsx` to display the actual underlying error to the UI status string if `oauthLoginUrl` fails.d8002cf -
chore: Restructure architecture for Hugging Face Docker Space deployment
- Updated `next.config.ts` to `output: 'export'` for highly-optimized static compilation. - Refactored `api.py` to securely mount the Next.js `out/` directory using FastAPI `StaticFiles`. - Updated `.dockerignore` to block local Node.js binaries and previous build steps, radically improving Docker context transfer times. - Wrote a new Multi-Stage `Dockerfile` that builds Next.js via Node, then serves it via Python, completely bypassing the legacy Gradio requirement. - Updated `README.md` default config from `sdk: gradio` to `sdk: docker`.8811f65 -
feat: Implement secure Hugging Face OAuth and patch Next.js vulnerability
- Removed manual HF token input in favor of official Hugging Face OAuth. - Implemented `oauthHandleRedirectIfPresent` in ClientApp state. - Refactored `api.py` request schemas and `modules/integrations.py` inference logic to support an `oauth_token`. - Added a Hybrid Token Priority system that falls back to local `.env` keys for seamless developer experience. - Designed a new "Hugging Face Identity" UI section providing status indicators (Authenticated, Developer Mode, Disconnected). - Bumbed `next` and `eslint-config-next` to `16.2.3` to patch a High Severity Denial of Service vulnerability (GHSA-q4gf-8mx6-v5v3). - Added `suppressHydrationWarning` to `layout.tsx` to fix mismatch errors caused by browser extensions during development.31bd72c
-
Phase 5.5: UI Model Selection & Enhanced Fault Diagnostics
- [UI] Converted Hugging Face model inputs to curated dropdowns with a 'Manual Entry' toggle. - [UI] Implemented high-visibility 'Synthesis Chamber Fault' error display in the central canvas. - [UI] Upgraded the action status bar to be reactive to failure states (pulsing red text). - [Backend] Restored SD-XL-base to the curated image model list in config.py. - [API] Exposed hf_text_models and hf_image_models in the config endpoint.e480cd9 -
feat: Add Advanced Engine Settings and native UI logo
- Implemented collapsible 'Advanced Engine Settings' allowing users to override Ollama and Hugging Face models directly from the UI. - Swapped the generic banner placeholder for the Chronicle Portrait Studio logo.svg. - Color-matched the SVG logo to the Next.js Obsidian & Gold palette (#0a0805, #DAB062).e1f9b50
-
Migrate to Next.js & FastAPI Architecture with Premium UI
- Decouples monolithic Gradio app into FastAPI backend (`api.py`) and Next.js frontend (`frontend/`). - Implements Stitch MCP-inspired 'Alchemist's Workshop' aesthetic with glassmorphism and Cinzel typography. - Replaces generic Gradio grids with precisely constrained, center-aligned HTML forms using Tailwind v4. - Preserves 100% functional parity including JSON Save/Load, Example Characters, and Image Generation. - Updates README documentation to reflect the new decoupled setup instructions.4eef090