Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>URL Classification</title> | |
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> | |
</head> | |
<body> | |
<header> | |
<h1>KeBos AI - Intelligent URL Threat Analyser</h1> | |
</header> | |
<div class="container"> | |
<form method="POST"> | |
<div class="form-group"> | |
<label for="url">Enter URL:</label> | |
<input type="text" id="url" name="url" placeholder="https://example.com" required value="{{ url if url else '' }}"> | |
</div> | |
<button type="submit">Classify URL</button> | |
</form> | |
{% if result %} | |
<div class="result {% if result == 'Legitimate' %}legitimate{% else %}malicious{% endif %}"> | |
Result: {{ result }} | |
</div> | |
{% endif %} | |
</div> | |
<!--<footer> | |
<p>© 2024 URL Classification Tool</p> | |
</footer>--> | |
</body> | |
</html> | |