 to add an output to the database based on a path
        function add_output_path() {
            document.getElementById("addPathSpinner").hidden = false
            const outputPath = document.getElementById("outputPath").value
            const outputTags = document.getElementById("outputTags").value.split(":")
            document.getElementById("outputPath").value = ""
            document.getElementById("outputTags").value = ""

            const body = JSON.stringify({
                output_path: o