Spaces:
Runtime error
Runtime error
| """ | |
| SitegeistAI Deployment Configuration | |
| This file provides a unified deployment entry point for the SitegeistAI platform. | |
| It includes all Modal functions and can be deployed as a single unit. | |
| Usage: | |
| modal deploy -m sitegeist_core.modal_functions | |
| Or for this deployment file: | |
| modal deploy deploy.py | |
| """ | |
| import modal | |
| from sitegeist_core.modal_functions import app as core_app | |
| # Create a deployment app that includes the core functionality | |
| deployment_app = modal.App("sitegeist-ai-deployment").include(core_app) | |
| # Expose the deployment app for CLI access | |
| app = deployment_app | |
| if __name__ == "__main__": | |
| print("๐ SitegeistAI Deployment Configuration") | |
| print("=" * 50) | |
| print(f"Core App: {core_app.name}") | |
| print(f"Deployment App: {deployment_app.name}") | |
| print("\nTo deploy:") | |
| print(" modal deploy deploy.py") | |
| print(" modal deploy -m sitegeist_core.modal_functions") | |
| print("\nTo test locally:") | |
| print(" python test_package_components.py") | |
| print(" modal run -m sitegeist_core.modal_functions") |