-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
42 lines (35 loc) · 1.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Sentimental Analysis</title>
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Arimo' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Hind:300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<div class="login">
<h1>Sentiments Analysis</h1>
<!-- Main Input For Receiving Query to our ML -->
<!--
<form action="{{ url_for('predict')}}"method="post">
<div class="inp">
<input type="text" name="Enter the product review here" placeholder="Enter the product review" required="required" />
</div>
<button type="submit" class="btn btn-primary btn-block btn-large">Predict </button>
</form>
-->
<form action="/predict/" method="post">
<div class="inp">
<input type="text" name="tweet" placeholder="Enter the tweet" required="required" />
</div>
<button name="forwardBtn" type="submit">Predict</button>
</form>
<br>
<br>
{{ prediction_text }}
</div>
</body>
</html>