MODELTRACE-AI / templates /index.html
adyashanayak165-code
final interface design
f294f90
Raw
History Blame Contribute Delete
814 Bytes
<!DOCTYPE html>
<html>
<head>
<title>AI origin detector</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="container">
<h1> AI Origin Detector</h1>
<p class="subtitle">
Identify which AI model generated a piece of text.
</p>
<form method="POST">
<textarea
name="text"
placeholder="Paste AI generated text here..."
></textarea>
<br>
<button type="submit">
Analyze
</button>
</form>
{% if prediction %}
<div class="result-box">
<h2>Prediction</h2>
<p class="prediction">{{ prediction }}</p>
</div>
{% endif %}
</div>
<script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>