Spaces:
Runtime error
Runtime error
File size: 1,057 Bytes
1744e85 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | """
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") |