Spaces:
Sleeping
Sleeping
| # Quick restart script for Overgrowth with API monitoring | |
| echo "🔄 Stopping any running Overgrowth instances..." | |
| pkill -f "python.*app.py" 2>/dev/null | |
| sleep 2 | |
| echo "🚀 Starting Overgrowth with API monitoring..." | |
| cd /home/gpaasch/overgrowth | |
| source venv/bin/activate | |
| echo "" | |
| echo "============================================" | |
| echo "🌿 Overgrowth - Now with API Monitoring! 🔍" | |
| echo "============================================" | |
| echo "" | |
| echo "✅ New Features:" | |
| echo " - Real-time API cost tracking" | |
| echo " - Live token usage statistics" | |
| echo " - Per-call timing and metrics" | |
| echo " - Session cost totals" | |
| echo "" | |
| echo "📊 Look for the 'Live API Activity Monitor'" | |
| echo " section at the top of the UI!" | |
| echo "" | |
| echo "🌐 Opening at: http://lab.grahampaasch.com:7860" | |
| echo "" | |
| nohup python app.py > app.log 2>&1 & | |
| PID=$! | |
| echo "✅ Started with PID: $PID" | |
| echo "" | |
| echo "📝 Logs: tail -f app.log" | |
| echo "🛑 Stop: kill $PID" | |