Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

new.html 2.8 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Machine Learning Model Prediction</title>
  8. <style>
  9. body {
  10. font-family: 'Arial', sans-serif;
  11. background: url('../static/Bee-Wallpaper.jpg') no-repeat center center fixed;
  12. background-size: cover;
  13. margin: 0;
  14. padding: 0;
  15. display: flex;
  16. align-items: center;
  17. justify-content: center;
  18. height: 100vh;
  19. }
  20. h1 {
  21. color: #fff;
  22. text-align: center;
  23. padding: 20px;
  24. background-color: rgba(255, 255, 255, 0.5);
  25. border-radius: 8px;
  26. margin-bottom: 20px;
  27. }
  28. form {
  29. max-width: 500px;
  30. background-color: rgba(255, 255, 255, 0.8);
  31. padding: 20px;
  32. border-radius: 8px;
  33. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  34. }
  35. label {
  36. display: block;
  37. margin-bottom: 8px;
  38. }
  39. select, input {
  40. width: calc(100% - 20px);
  41. padding: 10px;
  42. margin-bottom: 15px;
  43. box-sizing: border-box;
  44. border: 1px solid #ccc;
  45. border-radius: 4px;
  46. }
  47. button {
  48. background-color: #4caf50;
  49. color: #fff;
  50. padding: 12px;
  51. border: none;
  52. border-radius: 4px;
  53. cursor: pointer;
  54. font-size: 16px;
  55. width: calc(100% - 20px);
  56. }
  57. button:hover {
  58. background-color: #45a049;
  59. }
  60. </style>
  61. </head>
  62. <body>
  63. <form action="/predict" method="post">
  64. <h1> Prediction of Honey Production Price</h1>
  65. <label for="state">State:</label>
  66. <select id="state" name="state">
  67. <!-- Your state options here -->
  68. </select>
  69. <label for="numcol">Numcol:</label>
  70. <input type="number" id="numcol" name="numcol" step="0.01" required>
  71. <label for="yieldpercol">Yieldpercol:</label>
  72. <input type="number" id="yieldpercol" name="yieldpercol" required>
  73. <label for="totalprod">Totalprod:</label>
  74. <input type="number" id="totalprod" name="totalprod" step="0.01" required>
  75. <label for="stocks">Stocks:</label>
  76. <input type="number" id="stocks" name="stocks" step="0.01" required>
  77. <label for="prodvalue">Prodvalue:</label>
  78. <input type="number" id="prodvalue" name="prodvalue" step="0.01" required>
  79. <label for="year">Year:</label>
  80. <input type="number" id="year" name="year" required>
  81. <button type="submit">Predict Price</button>
  82. </form>
  83. <br>
  84. <br>
  85. <br>
  86. <h1>{{ prediction }}</h1>
  87. </body>
  88. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...