Spaces:
Runtime error
Runtime error
Create KBTrain.html
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 <!DOCTYPE html> <html> <head> <title>File Upload Form</title> <style> body { background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; }
.container { display: flex; flex-direction: column; height: 400px; max-width: 700px; margin: 0 auto; background-color: #fff; border-radius: 10px; box-shadow: 0px 5px 10px rgba(0,0,0,0.1); overflow: hidden; } .header { display: flex; align-items: center; justify-content: center; height: 60px; background-color:#0f3cc9 ; /* #075E54 */ color: #fff; font-weight: bold; font-size: 20px; }
form { background-color: #fff; border-radius: 5px; padding: 20px; width: 500px; margin: 0 auto; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
label { display: block; font-size: 18px; font-weight: bold; margin-bottom: 10px; }
input[type=file] { border: none; display: block; font-size: 16px; margin-bottom: 20px; }
input[type=submit] { background-color: #4CAF50; border: none; color: #fff; cursor: pointer; font-size: 18px; padding: 10px 20px; border-radius: 5px; }
input[type=submit]:hover { background-color: #3e8e41; }
.logoClass { width: 50px; height: 40px; align-self: center; margin-right: 10px; gap: 20px 20px; background-repeat: no-repeat; background-size: cover; /* background-image: url({{url_for('static',filename='Jio-Logo.png')}}); */ } .upload-form { flex-grow: 1; padding: 20px; overflow-y: auto; } </style> </head> <body> <div class="container"> <div class="header"> <div><img class="logoClass" src="../static/Jio-Logo.png" alt="Jio Logo"/> </div> <div>AI Assist Powered by JioGPT</div> </div> <div class="upload-form"> <form action="/file_upload" method="post" enctype="multipart/form-data"> <label for="file">Choose file to upload:</label> <input type="file" name="file" id="file"><br><br> <input type="submit" value="Upload"> </form> </div> </div> </body> </html>KBTrain.htmlAdded+105