Spaces:
Build error
Build error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Diamond Price Prediction</title> | |
| <style> | |
| body { | |
| background-color: #041C32; | |
| color: #ECB365; | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 800px; | |
| margin: auto; | |
| background-color: #04293A; | |
| padding: 20px; | |
| border-radius: 8px; | |
| } | |
| h1 { | |
| color: #ECB365; | |
| text-align: center; | |
| } | |
| label { | |
| display: block; | |
| margin-top: 10px; | |
| color: #ECB365; | |
| } | |
| input, select { | |
| width: 100%; | |
| padding: 8px; | |
| margin-top: 5px; | |
| border: 1px solid #064663; | |
| border-radius: 4px; | |
| background-color: #064663; | |
| color: #ECB365; | |
| box-sizing: border-box; | |
| } | |
| .btn { | |
| margin-top: 20px; | |
| padding: 10px 15px; | |
| background-color: #ECB365; | |
| color: #041C32; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-weight: bold; | |
| } | |
| .upload-section { | |
| margin-top: 20px; | |
| padding: 15px; | |
| border: 2px dashed #ECB365; | |
| text-align: center; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Diamond Price Prediction</h1> | |
| <div class="upload-section"> | |
| <h3>Upload CSV or Excel for Bulk Prediction</h3> | |
| <form action="{{ url_for('predict') }}" method="post" enctype="multipart/form-data"> | |
| <input type="file" name="file" accept=".csv, .xlsx" required> | |
| <button type="submit" class="btn">Upload & Predict</button> | |
| </form> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |