| from src.ui import Veo3Interface | |
| from src.utils import start_cleanup_scheduler | |
| def main(): | |
| """主函数""" | |
| print("🎬 Starting Veo3 AI Video Generator...") | |
| # 启动定时清理任务 | |
| start_cleanup_scheduler() | |
| print("✅ Cleanup scheduler started") | |
| # 创建界面 | |
| interface = Veo3Interface() | |
| interface.create_interface() | |
| print("✅ Interface created") | |
| # 启动应用 | |
| print("🚀 Launching application...") | |
| try: | |
| interface.launch() | |
| except Exception as e: | |
| print(f"❌ 启动失败: {e}") | |
| if __name__ == "__main__": | |
| main() | |