Spaces:
Sleeping
Sleeping
Commit History
-
fix: add Japanese font support for A4 layout text
RiceZero +1: Claude1. Install fonts-noto-cjk package in Dockerfile - Provides Noto Sans CJK fonts for Japanese text rendering 2. Update font paths in a4_layout_composer.py - Add correct paths for Debian/Ubuntu Linux fonts - Add Windows Yu Gothic font path - Expand Linux font fallback options (IPA, Takao) - Improve font path comments Resolves Japanese text garbling in A4 layout images. Co-Authored-By: Claude <noreply@anthropic.com>7aa16ff -
fix: resolve CSP violations and enable HF Spaces iframe embedding
RiceZero +1: Claude1. Remove inline styles from result.html - Replace inline style attributes with CSS utility classes - Add nonce to inline script for CSP compliance 2. Add utility classes to style.css - .text-center, .mt-10, .mt-20, .a4-image 3. Enable Hugging Face Spaces preview - Detect HF Spaces environment via SPACE_ID env var - Allow iframe embedding in HF Spaces (x_frame_options: None) - Add frame-ancestors CSP directive for huggingface.co Co-Authored-By: Claude <noreply@anthropic.com>90cba21 -
fix: resolve read-only filesystem error for FastSAM model download
RiceZero +1: Claude- Set YOLO_CONFIG_DIR and TORCH_HOME to writable /tmp directories - Change working directory to /tmp in download script before model download - Set environment variables at Flask app startup - Update deployment documentation with troubleshooting info This fixes the "Read-only file system" error that was causing deployment startup timeouts and model download failures. Co-Authored-By: Claude <noreply@anthropic.com>325722c -
fix: enhance FastSAM model loading logic to prioritize local path and fallback to cache
RiceZero7b9fc68 -
fix: improve FastSAM model download and pre-loading logic
RiceZero4f4c8c3 -
fix21
RiceZero2a5de1c -
ap
RiceZerob8ecbad -
fix: build error5
RiceZero27809ff -
fix: build error4
RiceZerob6794d8 -
fix: build error3
RiceZeroa326b02 -
fix: build error2
RiceZero45bf044 -
deploy
RiceZero57dd94e -
v1.4.1
RiceZeroae667d4 -
v1.4
RiceZero4431987 -
v1.3
RiceZero106517e -
v1.2
RiceZero1d1bd8c
-
ver1
RiceZeroa49c70b