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.4: Critical fixes for Windows exe and upload timeouts
## Critical Bug Fixes 🔧 ### Windows Exe Issue - **Fixed**: Gradio module missing from PyInstaller bundle - **Issue**: v1.0.3 exe crashed with 'ModuleNotFoundError: No module named gradio' - **Solution**: Added explicit gradio dependency in spec file + installed package ### Upload Timeout Issues - **Fixed**: Long uploads hanging/timing out (stayed at 70%) - **Issue**: batch_uploader had wrong API parameter (path_or_file vs path_or_fileobj) - **Solution**: Corrected parameter names and added retry logic with backoff ## Changes - **build/pyinstaller_uploader.spec**: Added missing dependencies - **src/uploader/batch_uploader.py**: Fixed API parameter + added repo_type - **requirements.txt**: Ensured all dependencies are listed - **web_ui.py & README.md**: Updated to v1.0.4 ## v1.0.4 Features - ✅ Exe now starts without module errors - ✅ Uploads handle timeouts with automatic retry (up to 5 attempts) - ✅ Auto-dataset creation still works - ✅ Better error messages for upload failures ##…4e68920 -
Release 1.0.3: Auto-create datasets if they don't exist
## Major Feature: Auto-Dataset Creation 🎯 - **Web UI**: Now creates dataset automatically if not found - **CLI**: Automatically initializes dataset structure with required folders - Users no longer need to manually create datasets on HuggingFace first! ## Auto-Creation Flow 1. User enters repo_id (e.g., 'username/my-dataset') 2. App tries to validate existing dataset 3. If dataset doesn't exist: Create it automatically 4. If structure incomplete: Initialize required folders and manifest 5. Upload proceeds with a working dataset ## Error Handling Improvements - Clear error messages when dataset creation fails - Helpful hints for permission issues - Better error context for troubleshooting ## Code Changes - **web_ui.py**: Enhanced dataset validation with auto-creation - **main.py**: CLI now auto-creates datasets (upload command) - Fixed API parameter names (path_or_fileobj) ## Tested On - Web UI: Can now upload to non-existent datasets - CLI: init-repo and upload both create structu…0c612f8 -
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 -
docs: update HF download link from GitHub to Hugging Face dataset
- Update Windows portable download link to point directly to HF dataset - Fix placeholder URLs from 'your-org' to 'jrrribeiro' - Add direct HF link in README.md with ~100 MB size info - Reference WINDOWS_PORTABLE_SETUP.md guide - Keep checksum SHA256 visible in web UI64cfee6 -
chore: update implementation files
055fe47
-
Import uploader files from validator workspace
4e31d1f
-
Forçar atualização total do app
2f1a5fb
-
feat(ui): add setup-first Dataset Repo tab with visibility option and tab prefill
f0bff77
-
feat: support tar.gz compression for segments upload + add local cli script
- Replace folder picker with compressed file upload (.tar, .tar.gz, .zip) - Supports efficient .tar.gz format (50GB -> ~30GB) - Remove local path dependency (Space-compatible only) - Add upload_segments_local.py script for local execution - Update README with two upload strategies (Space vs local CLI) - Maintains directory structure during extraction20568c9 -
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(space): write README frontmatter without BOM
c5ce085 -
fix(space): add required HF README frontmatter
b171a3e -
docs(readme): align uploader description style with validator app
cb278cb
-
docs: add professional project overview and usage guide
cc88305