demoPOC commited on
Commit
622ba6e
·
1 Parent(s): 8f7c5ed

Create KBTrain.html

Browse files
Files changed (1) hide show
  1. KBTrain.html +105 -0
KBTrain.html ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>File Upload Form</title>
5
+ <style>
6
+ body {
7
+ background-color: #f2f2f2;
8
+ font-family: Arial, Helvetica, sans-serif;
9
+ }
10
+
11
+ .container {
12
+ display: flex;
13
+ flex-direction: column;
14
+ height: 400px;
15
+ max-width: 700px;
16
+ margin: 0 auto;
17
+ background-color: #fff;
18
+ border-radius: 10px;
19
+ box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
20
+ overflow: hidden;
21
+ }
22
+ .header {
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ height: 60px;
27
+ background-color:#0f3cc9 ;
28
+ /* #075E54 */
29
+ color: #fff;
30
+ font-weight: bold;
31
+ font-size: 20px;
32
+ }
33
+
34
+ form {
35
+ background-color: #fff;
36
+ border-radius: 5px;
37
+ padding: 20px;
38
+ width: 500px;
39
+ margin: 0 auto;
40
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
41
+ }
42
+
43
+ label {
44
+ display: block;
45
+ font-size: 18px;
46
+ font-weight: bold;
47
+ margin-bottom: 10px;
48
+ }
49
+
50
+ input[type=file] {
51
+ border: none;
52
+ display: block;
53
+ font-size: 16px;
54
+ margin-bottom: 20px;
55
+ }
56
+
57
+ input[type=submit] {
58
+ background-color: #4CAF50;
59
+ border: none;
60
+ color: #fff;
61
+ cursor: pointer;
62
+ font-size: 18px;
63
+ padding: 10px 20px;
64
+ border-radius: 5px;
65
+ }
66
+
67
+ input[type=submit]:hover {
68
+ background-color: #3e8e41;
69
+ }
70
+
71
+ .logoClass
72
+ {
73
+ width: 50px;
74
+ height: 40px;
75
+ align-self: center;
76
+ margin-right: 10px;
77
+ gap: 20px 20px;
78
+ background-repeat: no-repeat;
79
+ background-size: cover;
80
+ /* background-image: url({{url_for('static',filename='Jio-Logo.png')}}); */
81
+ }
82
+ .upload-form
83
+ {
84
+ flex-grow: 1;
85
+ padding: 20px;
86
+ overflow-y: auto;
87
+ }
88
+ </style>
89
+ </head>
90
+ <body>
91
+ <div class="container">
92
+ <div class="header">
93
+ <div><img class="logoClass" src="../static/Jio-Logo.png" alt="Jio Logo"/> </div>
94
+ <div>AI Assist Powered by JioGPT</div>
95
+ </div>
96
+ <div class="upload-form">
97
+ <form action="/file_upload" method="post" enctype="multipart/form-data">
98
+ <label for="file">Choose file to upload:</label>
99
+ <input type="file" name="file" id="file"><br><br>
100
+ <input type="submit" value="Upload">
101
+ </form>
102
+ </div>
103
+ </div>
104
+ </body>
105
+ </html>