Pārlūkot izejas kodu

Upload files to 'Supportgpt/templates'

SadhulaSaiKumar 1 gadu atpakaļ
vecāks
revīzija
c5d5ea9a24
1 mainītis faili ar 20 papildinājumiem un 0 dzēšanām
  1. 20
    0
      Supportgpt/templates/index1.html

+ 20
- 0
Supportgpt/templates/index1.html Parādīt failu

@@ -0,0 +1,20 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+    <title>Langchain QA</title>
5
+</head>
6
+<body>
7
+    <h1>Langchain Question Answering</h1>
8
+    <form method="POST">
9
+        <label for="question">Enter your question:</label>
10
+        <input type="text" name="question" id="question">
11
+        <input type="submit" value="Ask">
12
+    </form>
13
+    {% if result %}
14
+    <h2>Answer:</h2>
15
+    <p>{{ result }}</p>
16
+
17
+    {% endif %}
18
+
19
+</body>
20
+</html>

Notiek ielāde…
Atcelt
Saglabāt