willco-afk commited on
Commit
dbdc077
·
verified ·
1 Parent(s): fadc1ce

Create templates/

Browse files
Files changed (1) hide show
  1. templates +21 -0
templates ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Taxi Model Prediction</title>
7
+ </head>
8
+ <body>
9
+ <h1>Taxi Q-learning Model Prediction</h1>
10
+ <form action="/predict" method="POST">
11
+ <label for="state">Enter state:</label>
12
+ <input type="text" id="state" name="state" required>
13
+ <button type="submit">Predict</button>
14
+ </form>
15
+
16
+ {% if state %}
17
+ <h3>State: {{ state }}</h3>
18
+ <h3>Predicted Action: {{ action }}</h3>
19
+ {% endif %}
20
+ </body>
21
+ </html>