Spaces:
Runtime error
Runtime error
Commit History
-
Simplify OAuth configuration and add proper scopes
- Remove fallback authentication system, use only gr.LoginButton() - Add specific OAuth scopes (read-repos, inference-api) to README.md - Clean up authentication interface to focus on single OAuth approach - This should resolve OAuth initialization issues in HuggingFace Spaces 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f00907a -
Add OAuth dependencies to fix Gradio OAuth initialization error
- Update gradio dependency to gradio[oauth]>=4.0.0 to include OAuth extras - Add explicit itsdangerous>=2.0.0 and starlette>=0.27.0 dependencies - Fixes ImportError: Cannot initialize OAuth due to missing itsdangerous module - Enables proper HuggingFace OAuth authentication in Spaces deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>43b94f9 -
Fix import error: move AuthResult and User imports to module level
- Move AuthResult, User imports from method level to module level - Fixes NameError: name 'AuthResult' is not defined at import time - Remove redundant imports inside _create_oauth_user method - Ensures all type hints are properly resolved during module loading 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f4b3f9f -
Implement clean OAuth login with gr.LoginButton and improve UI design
- Add hf_oauth: true to README.md for HuggingFace Spaces OAuth integration - Replace custom token input with official gr.LoginButton for seamless authentication - Remove cluttered UI elements: instructions dropdown, unnecessary labels, tab bar when logged out - Hide tabs until user is authenticated, show clean login screen first - Implement OAuth flow with proper user creation and session management - Extract user info from OAuth request context (preferred_username, sub, email, etc.) - Maintain backward compatibility with existing user database structure - Clean, minimal login interface that matches modern OAuth patterns This provides a much cleaner, professional authentication experience. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>5dda871 -
Add comprehensive .gitignore file and remove cached Python bytecode
- Add standard Python .gitignore with comprehensive patterns - Include AI/ML specific ignores (models, caches, datasets) - Add DigiPal-specific patterns (assets/, backups/, logs/, *.db) - Remove tracked __pycache__ directories and .pyc files - Ignore development tools (.claude/, .kiro/), environment files, and temporary files - Include patterns for common IDEs, OS-specific files, and build artifacts This ensures a clean repository with only source code tracked. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>96aeabf -
Implement official HuggingFace Hub authentication and remove offline mode
- Replace custom API calls with official huggingface_hub.whoami() function - Remove offline mode, demo tester functionality, and development workarounds - Update authentication to use proper HF Hub error handling with HfHubHTTPError - Simplify authentication flow to only support valid HuggingFace tokens - Remove offline_toggle from Gradio interface and related event handlers - Update user creation to handle official HF Hub API response format This provides more secure and reliable authentication using official HF methods. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>290d5ce
-
Fix all hardcoded Kyutai model identifiers across codebase
- Update speech_processor.py default model from kyutai/stt-2.6b-en_fr-trfs to kyutai/stt-2.6b-en-trfs - Update communication.py fallback model identifiers - Update performance_optimizer.py speech model default - Ensures consistent use of correct Kyutai model identifier throughout application - Fixes speech model loading errors in HuggingFace Spaces deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>c626b26 -
Fix Kyutai model identifier and storage paths for HuggingFace Spaces
- Update Kyutai model from kyutai/stt-2.6b-en_fr-trfs to kyutai/stt-2.6b-en-trfs - Replace /data paths with /tmp temporary storage for HF Spaces compatibility - Use tempfile module to create writable session directories - Fixes model loading errors and permission denied issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1283e10 -
Fix launch_interface method call in HuggingFace Spaces deployment
- Remove unsupported show_error and quiet parameters from launch_interface call - Fixes TypeError: launch_interface() got an unexpected keyword argument 'show_error' - App now starts successfully on HuggingFace Spaces 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>be049b1 -
Fix HuggingFace Spaces storage permissions for DigiPal deployment
- Update production config to use /data instead of /app/data for persistent storage - Add graceful error handling for directory creation in HF Spaces environment - Prevent permission errors during app initialization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>05ff752 -
Resolve merge conflict in README.md - keep detailed local version
28c5901 -
🥚 Initial DigiPal deployment to HuggingFace Spaces🤖 Generated with [Claude Code](https://claude.ai/code)Co-Authored-By: Claude <noreply@anthropic.com>
4399e64 -
initial commit
Verified signaturec793b13