MogensR's picture
Create app.py
58835e7
raw
history blame
714 Bytes
#!/usr/bin/env python3
"""
Hugging Face Spaces Entry Point
This file must remain in root for HF Spaces compatibility
Imports and runs the main application from core/app.py
"""
# Import the main application from core
from core.app import (
VideoProcessor,
processor,
load_models_with_validation,
process_video_fixed,
get_model_status,
get_cache_status,
PROCESS_CANCELLED,
main
)
# Re-export for backward compatibility
__all__ = [
'VideoProcessor',
'processor',
'load_models_with_validation',
'process_video_fixed',
'get_model_status',
'get_cache_status',
'PROCESS_CANCELLED'
]
# Entry point for Hugging Face Spaces
if __name__ == "__main__":
main()