This is the html input from which I load my file
<input type="file" id="fasta_1" accept=".fasta" class="form-control-file">
And this is the block of code from which I try to access the file but it doesn't work for me.
fasta_1 = Element("fasta_1")
document = fasta_1.element.files[0]
print(document)
#document = evt.target.files[0]
#with open(document, "r") as f:
#txtread = f.read()
#print(document)