journal / templates /result.html
srbmihaicode's picture
test
40d04ab
raw
history blame
1.99 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: start;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 150%;
}
}
</style>
<link rel="stylesheet" href="/static/style.css">
<title>Sentiment analysis on Tweets using Hugging Face</title>
</head>
<body>
<form method=post enctype=multipart/form-data>
<img src="static/flag.png" width="100%">
<div style="height:80px"></div>
<div class="container">
<h3 style= "color:#030d9b"><i>OVHcloud - Sentiment analysis on Tweets using Hugging Face</i></h3>
<hr>
<div style="height:50px"></div>
<h4 style= "color:#030d9b">Your text:</h4>
<p id="demo">{{ text }}</p>
<div style="height:50px"></div>
<h4 style= "color:#030d9b">Result:</h4>
<p id="demo">{{ prediction }}</p>
</div>
<div style= "height:200px"></div>
<p align="center">If you want to know more about AI Training, go <a href="https://www.ovhcloud.com/fr/public-cloud/ai-training/">here</a>.</p>
</form>
<script src="//code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
</body>
</html>