Spaces:
Runtime error
Runtime error
File size: 551 Bytes
dc71762 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<!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>
|