upload_file_python
upload_file_python copied to clipboard
local variable 'filename' referenced before assignment
when i try to display image on other page the error pops out on this line:
return render_template("upload.html", image_path=filename)
But in your video tutorial I saw it didn't matter although the error existed.