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.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 -
chore: update implementation files
055fe47
-
Import uploader files from validator workspace
4e31d1f