-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDetectFake.html
75 lines (61 loc) · 2.45 KB
/
DetectFake.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{% load static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>Deep Fake</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}" />
<script language="javascript">
function validate(formObj)
{
if(formObj.t1.value.length==0)
{
alert("Please Enter Event Post");
formObj.t1.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo">
<center><font size="4" color="yellow">Deepfake Detection on Social Media: Leveraging
Deep Learning and FastText Embeddings for
Identifying Machine-Generated Tweets</font></center>
</div>
<div id="slogan">
</div>
</div>
<div id="menu">
<ul><center>
<li class="first current_page_item"><a href="{% url 'LoadDataset' %}"><font size="" color="yellow">Load Dataset</font></a></li>
<li class="first current_page_item"><a href="{% url 'FastText' %}"><font size="" color="yellow">Fast Text Embedding</font></a></li>
<li class="first current_page_item"><a href="{% url 'TrainML' %}"><font size="" color="yellow">Run All Algorithms</font></a></li>
<li class="first current_page_item"><a href="{% url 'DetectFake' %}"><font size="" color="yellow">Predict Deep Fake</font></a></li>
<li class="first current_page_item"><a href="{% url 'index' %}"><font size="" color="yellow">Logout</font></a></li>
</center></ul> <br class="clearfix" />
</div>
<div id="splash">
<img class="pic" src="{% static 'images/investor.jpg' %}" width="870" height="230" alt="" />
</div>
<center>
<form name="f1" method="post" action={% url 'DetectFakeAction' %} onsubmit="return validate(this);">
<br/>{% csrf_token %}<br/>
<h5><b>Tweet Testing Screen</b></h5>
<font size="" color="red"><center>{{ data|safe }}</center></font>
<table align="center" width="40" >
<tr><td><font size="" color="black">Enter Tweets</b></td><td><input type="text" name="t1" style="font-family: Comic Sans MS" size="50"/></td></tr>
<tr><td></td><td><input type="submit" value="Submit">
</td>
</tr>
</table>
</div>
</div>
<br/><br/>
</body>
</html>