- Convert all UI text from Chinese to English
- Update model loading status messages to English
- Update error messages and user feedback to English
- Optimize audio component performance:
- Add format='wav' to audio components
- Set autoplay=False for better loading
- Improve audio file handling
- Maintain all functionality while improving international accessibility
- Remove 'info' parameter from Video, Audio, Textbox, and Checkbox components
- Move info text to component labels for better compatibility
- Ensure compatibility with different Gradio versions in HF Space
- Add comprehensive model description based on AC-Foley paper
- Implement mask_away_clip parameter for better control
- Redesign UI with clear sections: required/optional inputs
- Add four generation modes with detailed explanations
- Include advanced options in collapsible accordion
- Add usage guide with practical examples
- Improve layout with better information hierarchy
- Reference original paper: https://openreview.net/forum?id=URPXhnWdBF
- Implement global model instance with one-time initialization
- Add progressive loading status updates with Chinese descriptions
- Remove manual model loading - auto-initialize on startup
- Add model status refresh functionality
- Improve user experience with clear progress indicators
- Cache model in memory to avoid reloading on each request
Add automatic model weights download from HuggingFace
- Automatically download model.pth from FF2416/AC-Foley repo
- Create weights directory if not exists
- Better error handling for missing weights
- Improved status messages
- Add torchdiffeq and other missing packages to requirements.txt
- Update dependency versions to match hf_AC requirements
- Add better error handling and dependency checking in app.py
- Include nitrous-ema, hydra_colorlog, and python-dotenv
Add hf_AC audio generation demo
ZJUCQR
e2bca25
- Implement Gradio interface for video-to-audio generation
- Add Chinese language support
- Include hf_AC model integration
- Add requirements.txt and packages.txt for HF Space deployment
- Add example prompts and usage tips
- Include deployment documentation