Spaces:
Runtime error
Runtime error
Download deploy.py from Agents-MCP-Hackathon/SitegeistAI: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/SitegeistAI/resolve/main/deploy.py
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/SitegeistAI/deploy.py
-
curl -L -o deploy.py https://huggingface.co/spaces/Agents-MCP-Hackathon/SitegeistAI/resolve/main/deploy.py
1.06 kB
| """ | |
| 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") |