Spaces:
Sleeping
Sleeping
Download deployment/templates/result.html from ShadowTEM/Heart_attack: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/spaces/ShadowTEM/Heart_attack/resolve/main/deployment/templates/result.html
- Command line
-
hf download hf://spaces/ShadowTEM/Heart_attack/deployment/templates/result.html
-
curl -L -o result.html https://huggingface.co/spaces/ShadowTEM/Heart_attack/resolve/main/deployment/templates/result.html
1.51 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Heart Attack Detection Result</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <style> | |
| body { | |
| background-color: #f8f9fa; | |
| } | |
| .container { | |
| margin-top: 30px; | |
| padding: 20px; | |
| background: white; | |
| border-radius: 8px; | |
| box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .result-message { | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| color: #2c3e50; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h2 class="text-center">Heart Attack Risk Prediction Result</h2> | |
| <div class="mt-4 text-center"> | |
| {% if prediction == 1 %} | |
| <p class="result-message" style="color: #e74c3c;">A Heart Attack may occur</p> | |
| {% else %} | |
| <p class="result-message" style="color: #27ae60;">A Heart Attack is unlikely</p> | |
| {% endif %} | |
| </div> | |
| <div class="text-center mt-3"> | |
| <a href="/" class="btn btn-primary">Go Back</a> | |
| </div> | |
| </div> | |
| <!-- Bootstrap JS --> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> | |
| </body> | |
| </html> | |