public function index()
{
    $predictions = DB::table('predictions')->where('status', 'active')->orderBy('created_at', 'desc')->get();

    // This removes any accidental spaces or hidden characters
    if (ob_get_length()) ob_end_clean();

    return response()->view('sitemap', [
        'predictions' => $predictions,
    ])->header('Content-Type', 'text/xml');
}