Spaces:
Paused
Paused
Download ppt-integration-package/setup-scripts/03-setup-multiagent.ps1 from Kraft102/widgettdc-api: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/ppt-integration-package/setup-scripts/03-setup-multiagent.ps1
- Command line
-
hf download hf://spaces/Kraft102/widgettdc-api/ppt-integration-package/setup-scripts/03-setup-multiagent.ps1
-
curl -L -o 03-setup-multiagent.ps1 https://huggingface.co/spaces/Kraft102/widgettdc-api/resolve/main/ppt-integration-package/setup-scripts/03-setup-multiagent.ps1
1.55 kB
| # Setup Script 03: Setup MultiAgentPPT | |
| # Cloner og konfigurerer MultiAgentPPT systemet | |
| Write-Host "=================================================" -ForegroundColor Cyan | |
| Write-Host " Step 3: Setup MultiAgentPPT" -ForegroundColor Cyan | |
| Write-Host "=================================================" -ForegroundColor Cyan | |
| $projectPath = "C:\Users\claus\Projects" | |
| $multiagentPath = "$projectPath\MultiAgentPPT" | |
| # Clone repository if not exists | |
| if(-not (Test-Path $multiagentPath)) { | |
| Write-Host "Cloning MultiAgentPPT..." -ForegroundColor Yellow | |
| cd $projectPath | |
| git clone https://github.com/johnson7788/MultiAgentPPT.git | |
| } else { | |
| Write-Host "MultiAgentPPT already cloned. Updating..." -ForegroundColor Yellow | |
| cd $multiagentPath | |
| git pull | |
| } | |
| # Setup Python environment | |
| Write-Host "Setting up Python environment..." -ForegroundColor Yellow | |
| cd "$multiagentPath\backend" | |
| python -m venv venv | |
| .\venv\Scripts\Activate.ps1 | |
| pip install -r requirements.txt | |
| # Copy environment templates | |
| Write-Host "Configuring environments..." -ForegroundColor Yellow | |
| $modules = @("simpleOutline", "simplePPT", "slide_outline", "slide_agent") | |
| foreach($module in $modules) { | |
| if(Test-Path "$module\env_template") { | |
| Copy-Item "$module\env_template" "$module\.env" | |
| Write-Host "✅ Created .env for $module" -ForegroundColor Green | |
| } | |
| } | |
| Write-Host "" | |
| Write-Host "✅ MultiAgentPPT setup complete!" -ForegroundColor Green | |
| Write-Host "Don't forget to configure .env files with your API keys!" -ForegroundColor Yellow | |
| Write-Host "" | |