DSE_project_1 / index.html
DR-Rakshitha's picture
html_doc
9af5885
raw
history blame contribute delete
598 Bytes
<!-- templates/index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Machine Learning Web App</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<h1>Machine Learning Web App</h1>
<form method="POST">
<label for="user_input">Enter a phrase:</label>
<input type="text" id="user_input" name="user_input" required>
<input type="submit" value="Submit">
</form>
{% if user_input %}
<p>You entered: {{ user_input }}</p>
<p>Model output: {{ output }}</p>
{% endif %}
</body>
</html>