Download templates/malaria_predict.html from mercelv/predictor: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/mercelv/predictor/resolve/main/templates/malaria_predict.html
- Command line
-
hf download hf://spaces/mercelv/predictor/templates/malaria_predict.html
-
curl -L -o malaria_predict.html https://huggingface.co/spaces/mercelv/predictor/resolve/main/templates/malaria_predict.html
1.09 kB
| {% extends 'main.html' %} | |
| {% block content %} | |
| <style> | |
| body { | |
| font-family: Cambria; | |
| height: 100%; | |
| background-image: linear-gradient(#4e0374, #c37ee6); | |
| margin: 0; | |
| background-repeat: no-repeat; | |
| background-attachment: fixed; | |
| } | |
| </style> | |
| <div class="row" style="margin-bottom: 477px;"> | |
| <div class="col-md-3"></div> | |
| <div class="col-md-6"> | |
| {% if pred == 1 %} | |
| <div class="card card-body alert alert-danger"><center>POSITIVE. The patient might have the disease.</center></div> | |
| {% else %} | |
| <div class="card card-body alert alert-success"><center>NEGATIVE. The patient is healthy.</center></div> | |
| {% endif %} | |
| <div class="row"> | |
| <div class="col-md-4"></div> | |
| <div class="col-md-4"><a href="{{ url_for('home') }}" class="btn btn-block btn-primary" style="background-color: #4e0374">Back to Home</a></div> | |
| <div class="col-md-4"></div> | |
| </div> | |
| </div> | |
| <div class="col-md-3"></div> | |
| </div> | |
| {% endblock %} |