My code passes check50 fine. But when I attempt to run my webserver, I keep getting a 400 error whenever I try to "submit"
Here's my .html file. I can't imagine that this is the problem as I tried using the staff solution but that also didn't work.
{% extends "layout.html" %}
{% block body %}
<div class="col">
<form action="/compare" enctype="multipart/form-data" method="post">
<!-- TODO -->
File 1:<br>
<input type="file" name="File 1">
<br>
File 2:<br>
<input type="file" name="File 2">
<br>
Algorithm: <br>
<input type="radio" name="Algorithm" value="Lines" checked> Lines<br>
<input type="radio" name="Algorithm" value="Sentences"> Sentences<br>
<input type="radio" name="Algorithm" value="Substrings"> Substrings<br><br>
Length: <br>
<input type="number" name="Length">
<br>
<button type="submit">Compare</button>
<br>
</form>
</div>
{% endblock %}