#!/bin/bash echo "Waiting 90 seconds for Space to rebuild..." sleep 90 echo "" echo "1️⃣ Checking if API key has a value now..." curl -s https://ocx2025-basicsearch.hf.space/debug/env 2>/dev/null | python3 -m json.tool echo "" echo "2️⃣ Testing YouTube search..." curl -s -X POST https://ocx2025-basicsearch.hf.space/search \ -H "Content-Type: application/json" \ -d '{"query": "Python programming", "max_results": 1}' \ 2>/dev/null | python3 -m json.tool echo "" echo "✅ If you see video results above, it's working!"