put_image) {
                    var input = document.getElementById(input_image);
                    document.getElementById('image-preview').src = (
                      window.URL.createObjectURL(input.files[0])
                    );

                    upload(input.files[0]);
                };
            </script>
        </main>
    </div>
</body>
</html>
