Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Flask Iris Mobile</title> | |
| <style> | |
| body { | |
| font-family: -apple-system, system-ui, sans-serif; | |
| margin: 0; | |
| padding: 20px; | |
| display: flex; | |
| justify-content: center; | |
| background-color: #f8f9fa; | |
| } | |
| .container { | |
| width: 100%; | |
| max-width: 500px; | |
| text-align: center; | |
| background: white; | |
| padding: 30px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 15px rgba(0,0,0,0.1); | |
| } | |
| h1 { | |
| color: #333; | |
| font-size: 1.5rem; | |
| margin-bottom: 20px; | |
| } | |
| .btn-predict { | |
| display: block; | |
| background-color: #007bff; | |
| color: white; | |
| text-decoration: none; | |
| padding: 15px; | |
| border-radius: 10px; | |
| font-weight: bold; | |
| margin: 20px 0; | |
| font-size: 1.1rem; | |
| } | |
| .status-box { | |
| background: #e9ecef; | |
| padding: 10px; | |
| border-radius: 5px; | |
| font-size: 0.9rem; | |
| color: #666; | |
| margin-bottom: 20px; | |
| } | |
| img { | |
| max-width: 100%; | |
| height: auto; | |
| border-radius: 10px; | |
| margin-top: 10px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Welcome to Flask Iris!</h1> | |
| <div class="status-box"> | |
| {{ dt }} | |
| </div> | |
| <a href="/predict" class="btn-predict">Go To Prediction Page</a> | |
| <img src="/static/img/audi.png" alt="Iris Data Visualization"> | |
| </div> | |
| </body> | |
| </html> |