-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-checkpoint.html
40 lines (35 loc) · 1.38 KB
/
index-checkpoint.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
<!DOCTYPE html>
<html>
<!--From https://codepen.io/frytyler/pen/EGdtg-->
<head>
<meta charset="UTF-8">
<title>Fake News Detection</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>
<style>
body{
background-image:url("https://image.freepik.com/free-photo/newspapers-folded-form-background_100488-637.jpg");
background-size:cover;
}
</style>
<body>
<center>
<div class="login">
<br><br>
<h1 style="background-color: black; color: white;">Fake News Detection</h1>
<!-- Main Input For Receiving Query to our ML -->
<form action="{{ url_for('predict')}}"method="post">
<input type="text" name="news" placeholder="Enter the news url" required="required" /><br><br>
<button type="submit" class="btn btn-primary btn-block btn-large">Predict</button>
</form>
<br>
<br>
<h1 style="color:red ; background-color: black">{{ prediction_text }}</h1>
</div>
</center>
</body>
</html>