|
|
|
""" |
|
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 |
|
""" |
|
|
|
|
|
from core.app import ( |
|
VideoProcessor, |
|
processor, |
|
load_models_with_validation, |
|
process_video_fixed, |
|
get_model_status, |
|
get_cache_status, |
|
PROCESS_CANCELLED, |
|
main |
|
) |
|
|
|
|
|
__all__ = [ |
|
'VideoProcessor', |
|
'processor', |
|
'load_models_with_validation', |
|
'process_video_fixed', |
|
'get_model_status', |
|
'get_cache_status', |
|
'PROCESS_CANCELLED' |
|
] |
|
|
|
|
|
if __name__ == "__main__": |
|
main() |