Spaces:
Sleeping
Sleeping
Commit History
-
Add tests for batch uploader and deduplicator logic
- Implemented unit tests for BatchUploader to validate retry logic, deduplication, and file upload scenarios. - Added a test for Deduplicator to ensure it handles timeouts correctly. - Created temporary audio files and CSVs for testing purposes. - Included various log files to capture upload processes and error handling.2b0510e
-
Release 1.0.2: Critical fix for Windows exe entry point
## Critical Bug Fix - Fixed: app.py now executes correctly in PyInstaller exe - Issue: 'if __name__ == __main__:' block never runs in exe - Solution: Removed guard, code runs on import ## Improvements - Better error handling for 404 (dataset not found) - Clear instructions when dataset doesn't exist - Added test_imports.py for troubleshooting - Windows exe shows status messages ## Changes - app.py: Removed if __name__ guard, added logging - web_ui.py: Better 404 error handling with instructions - Added test_imports.py and debug.bat for debugging - Updated .gitignore to exclude build artifactsb77c32b -
Release 1.0.1: Bug fixes and improved error handling
## Bug Fixes - Fixed HfApi parameter name (path_or_file → path_or_fileobj) for CSV and shard uploads - Improved error handling in app.py with logging and traceback ## New Features - Added TROUBLESHOOTING.md with comprehensive debugging guide - Added app_debug.py for detailed error logging - Added launcher.bat for better error visibility on Windows - Added error message with proper formatting and descriptions ## Changes in src/uploader/web_ui.py - Corrected API calls to use path_or_fileobj instead of path_or_file - Both CSV upload (line 174) and shard upload (line 203) now use correct parameter ## Testing - Windows exe now logs errors to ~/.birdnet-uploader/logs/ - Better error messages for network issues and API failures - Port conflicts properly detected and reported ## Documentation - Updated README.md to link TROUBLESHOOTING guide - Web UI now shows v1.0.1 features - Provided SHA256 checksum for integrity verification54ead58 -
chore: update implementation files
055fe47
-
Fix environment variable references for uploader web UI in app.py
2bef5e1 -
Import uploader files from validator workspace
4e31d1f
-
Forçar atualização total do app
2f1a5fb
-
fix: Remove show_api incompatibility, enforce HF token, implement Option B controls, fix archive paths
- Remove show_api param from Gradio launch (Gradio version incompatibility) - Make HF Token mandatory across all tabs - Add state-aware snapshot rendering to prevent flicker - Implement Option B with async session (Start/Pause/Resume/Cancel/Refresh) - Add pause/cancel/progress callback support to ingestion backend - Fix archive wrapper folder handling (e.g. Segments/) in segment discovery - Fix stale resume-state skipping when remote file is missing - Auto-stop timer when job completes (no continuous refresh after done)0666dee
-
fix(space): use hf port and align gradio 5.23 runtime stack
0aec723 -
fix(deploy): align space sdk and pin stable gradio4 dependency matrix
54728e9 -
fix(runtime): stabilize gradio api schema handling on startup
fc203ae
-
chore: bootstrap uploader project structure
262033b