def cleanup_url(url: str) -> str:
    """Cleans up the text to be a valid URL.

    Returns:
        str: The cleaned up URL.
    """
    url = url.replace(" ", "-")
    if url.startswith("http://") or url.startswith("https://"):
        return url
    else:
        return f"https://{url}"