<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Word Frequencies</title>
</head>
<body>
    <h1>Top Word Frequencies:</h1>
    <ul>
    {% for word, count in word_counts %}
        <li>{{ word }}: {{ count }}</li>
    {% endfor %}
    </ul>
    <a href="{{ url_for('index') }}">Back to Upload</a>
</body>
</html>