spam_clf / templates /index.html
varunkuntal's picture
all added
dc71762
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Spam Classifier App</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="container">
<h1>Spam Classifier</h1>
<form method="POST">
<textarea name="message" required></textarea>
<button type="submit">Classify</button>
</form>
{% if prediction %}
<div class="result">Classification Result: {{ prediction }}</div>
{% endif %}
</div>
</body>
</html>