Spaces:
Sleeping
Sleeping
<!-- templates/index.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> | |