Arbazkhan-cs commited on
Commit
78d5647
1 Parent(s): 2ff6e76

Update templates/index2.html

Browse files
Files changed (1) hide show
  1. templates/index2.html +54 -57
templates/index2.html CHANGED
@@ -1,57 +1,54 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="stylesheet" href="{{ url_for('static', filename='styles2.css') }}">
6
- <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap" rel="stylesheet">
7
- <title>AI Agent</title>
8
- </head>
9
- <body>
10
- <div class="myApp">
11
- <div class="sidebar">
12
- <div class="upper">
13
- <div class="uuppr">
14
- <div class="icnmy">
15
- <img src="{{ url_for('static', filename='chatgpt.svg') }}" alt="" class="GPTlogo" /><span class="logo-text">Agent</span>
16
- </div>
17
- <div class="add">
18
- <button class="addbtn"><img src="{{ url_for('static', filename='add-30.png') }}" alt="" class="add-icon" /><span>New Chat</span></button>
19
- </div>
20
- </div>
21
- <div class="ulower">
22
- <button class="query"><img src="{{ url_for('static', filename='message.svg') }}" alt="" class="msg-icon" />What is Programming ?</button>
23
- <button class="query"><img src="{{ url_for('static', filename='message.svg') }}" alt="" class="msg-icon" />What is API Key ?</button>
24
- </div>
25
- </div>
26
- <div class="lower">
27
- <button class="lquery"><img src="{{ url_for('static', filename='home.svg') }}" alt="" class="hme-icon" />Home</button>
28
- <button class="lquery"><img src="{{ url_for('static', filename='bookmark.svg') }}" alt="" class="bkm-icon" />Saved</button>
29
- <button class="lquery"><img src="{{ url_for('static', filename='rocket.svg') }}" alt="" class="rckt-icon" />Upgrade to Pro</button>
30
- </div>
31
- </div>
32
- <div class="main">
33
- <div class="chats">
34
- <img src="{{ url_for('static', filename='chatgpt.svg') }}" alt="" class="GPTlogo-icon" /><span class="text bot">
35
- {% if result %}
36
- <pre>{{ result }}</pre>
37
- {% endif %}
38
- </span>
39
- </div>
40
- </div>
41
- <div class="chatFooter">
42
- <div class="inp">
43
- <form action="{{ url_for('index2') }}" method="post", enctype="multipart/form-data">
44
- <input type="text" name="query" placeholder="Send a message" class="take-input">
45
- <label for="file-upload"><img src="{{ url_for('static', filename='upload.svg') }}" alt="" class="upload-icon"/></label>
46
- <input type="file" id="file-upload" name="file" accept=".pdf">
47
- <button type="submit" class="send"><img src="{{ url_for('static', filename='send.svg') }}" alt="" class="send-icon" /></button>
48
- </form>
49
- </div>
50
- <div class="comment">
51
- Advance Research Agent may produce inaccurate information or results.
52
- </div>
53
- </div>
54
- </div>
55
- <script src="{{ url_for('static', filename='script.js') }}"></script>
56
- </body>
57
- </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="stylesheet" href="{{ url_for('static', filename='styles2.css') }}">
6
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap" rel="stylesheet">
7
+ <title>AI Agent</title>
8
+ </head>
9
+ <body>
10
+ <div class="myApp">
11
+ <div class="sidebar">
12
+ <div class="upper">
13
+ <div class="uuppr">
14
+ <div class="icnmy">
15
+ <img src="{{ url_for('static', filename='logo.png') }}" alt="" class="GPTlogo" />
16
+ </div>
17
+ </div>
18
+ <div class="ulower">
19
+ <button class="query"><img src="{{ url_for('static', filename='message.svg') }}" alt="" class="msg-icon" />What is Programming ?</button>
20
+ <button class="query"><img src="{{ url_for('static', filename='message.svg') }}" alt="" class="msg-icon" />What is API Key ?</button>
21
+ </div>
22
+ </div>
23
+ <div class="lower">
24
+ <button class="lquery"><img src="{{ url_for('static', filename='home.svg') }}" alt="" class="hme-icon" />Home</button>
25
+ <button class="lquery"><img src="{{ url_for('static', filename='bookmark.svg') }}" alt="" class="bkm-icon" />Saved</button>
26
+ <button class="lquery"><img src="{{ url_for('static', filename='rocket.svg') }}" alt="" class="rckt-icon" />Upgrade to Pro</button>
27
+ </div>
28
+ </div>
29
+ <div class="main">
30
+ <div class="chats">
31
+ <img src="{{ url_for('static', filename='logo.png') }}" alt="" class="GPTlogo-icon" /><span class="text bot">
32
+ {% if result %}
33
+ <pre>{{ result }}</pre>
34
+ {% endif %}
35
+ </span>
36
+ </div>
37
+ </div>
38
+ <div class="chatFooter">
39
+ <div class="inp">
40
+ <form action="{{ url_for('index2') }}" method="post", enctype="multipart/form-data">
41
+ <input type="text" name="query" placeholder="Send a message" class="take-input">
42
+ <label for="file-upload"><img src="{{ url_for('static', filename='upload.svg') }}" alt="" class="upload-icon"/></label>
43
+ <input type="file" id="file-upload" name="file" accept=".pdf">
44
+ <button type="submit" class="send"><img src="{{ url_for('static', filename='send.svg') }}" alt="" class="send-icon" /></button>
45
+ </form>
46
+ </div>
47
+ <div class="comment">
48
+ Advance Research Agent may produce inaccurate information or results.
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <script src="{{ url_for('static', filename='script.js') }}"></script>
53
+ </body>
54
+ </html>