aymanemalih commited on
Commit
166a7ff
1 Parent(s): 441c198

Upload 2 files

Browse files
Files changed (2) hide show
  1. templates/index.html +14 -0
  2. templates/results.html +11 -0
templates/index.html ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Ask Questions</title>
5
+ </head>
6
+ <body>
7
+ <h1>Ask Questions</h1>
8
+ <form action="/ask" method="post">
9
+ <label for="question">Your Question:</label>
10
+ <input type="text" name="question" required>
11
+ <input type="submit" value="Ask">
12
+ </form>
13
+ </body>
14
+ </html>
templates/results.html ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Result</title>
5
+ </head>
6
+ <body>
7
+ <h1>Result</h1>
8
+ <p>{{ response }}</p>
9
+ <a href="/">Back to Ask Questions</a>
10
+ </body>
11
+ </html>