sid22669's picture
Add application file
4a9c2e6
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Prediction</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
}
h2 {
text-align: center;
color: #333;
}
label {
font-weight: bold;
color: #555;
}
input[type="text"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #4caf50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<form action="/predict" method="post">
<h2>Weather Prediction</h2>
<label for="precipitation">Precipitation:</label>
<input type="text" id="precipitation" name="precipitation">
<label for="temp_max">Max Temperature:</label>
<input type="text" id="temp_max" name="temp_max">
<label for="temp_min">Min Temperature:</label>
<input type="text" id="temp_min" name="temp_min">
<label for="wind">Wind:</label>
<input type="text" id="wind" name="wind">
<input type="submit" value="Predict">
</form>
</body>
</html>