Spaces:
Running
Running
Jesus Carrasco
commited on
Commit
·
d821cf3
1
Parent(s):
7d09bd4
Update index.html
Browse files- index.html +22 -17
index.html
CHANGED
|
@@ -1,19 +1,24 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
|
|
| 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>Chatbot</title>
|
| 7 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div class="container">
|
| 11 |
+
<form action="/" method="post">
|
| 12 |
+
<label for="message">Enter your name:</label>
|
| 13 |
+
<input type="text" name="message" id="message" required>
|
| 14 |
+
<button type="submit">Submit</button>
|
| 15 |
+
</form>
|
| 16 |
+
<div class="response">
|
| 17 |
+
{% if response %}
|
| 18 |
+
<p>Chatbot response: {{ response }}</p>
|
| 19 |
+
{% endif %}
|
| 20 |
+
</div>
|
| 21 |
+
</div>
|
| 22 |
+
</body>
|
| 23 |
</html>
|
| 24 |
+
|