AudioSpoofing / templates /result.html
ujalaarshad17's picture
Added files
384e020
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Prediction Results</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='styles.css') }}"
/>
</head>
<body class="page">
<div class="container">
<h1 class="title">Prediction Results</h1>
<p class="result-text">Fake Percentage: {{ fake_percentage }}%</p>
<p class="result-text">Result Type: {{ result_type }}</p>
<p class="result-text">Fake Frame Count: {{ fake_frame_count }}</p>
<div class="plot-container">
{{ plot_html|safe }}
<!-- Embed Plotly plot here -->
</div>
<div class="intervals-list">
<h2>Fake Frame Intervals:</h2>
{% if fake_frame_intervals == "No Frame" %}
<p>No Frame</p>
{% else %}
<ul>
{% for start, end in fake_frame_intervals %}
<li>{{ start }}s - {{ end }}s</li>
{% endfor %}
</ul>
{% endif %}
</div>
<a href="/" class="return-button">Analyze Another File</a>
</div>
</body>
</html>