Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>IMPHNEN</title> | |
<style> | |
table { | |
border-collapse: collapse; | |
width: 100%; | |
border: 1px solid black; /* Add this line */ | |
} | |
th, td { | |
border: 1px solid black; | |
padding: 8px; | |
text-align: left; | |
} | |
th { | |
background-color: #f2f2f2; | |
} | |
tr:nth-child(even) { | |
background-color: #f2f2f2; | |
} | |
.table-container { | |
max-height: 400px; | |
overflow-y: auto; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Forecasting Harga Pembukaan Mata Uang Kripto Cardano (ADA) dengan Random Forest</h1> | |
<p>Data terakhir diambil tanggal : 2024-09-30</p> | |
<form action="{{ url_for('predict') }}" method="post"> | |
<label for="timeframe">Pilih rentang waktu:</label> | |
<select name="waktu" id="timeframe"> | |
<option value="1 bulan">1 Bulan</option> | |
<option value="3 bulan">3 Bulan</option> | |
<option value="6 bulan">6 Bulan</option> | |
<option value="1 tahun">1 Tahun</option> | |
</select> | |
<button type="submit">Submit</button> | |
</form> | |
<div class="container my-5"> | |
<h2>DataFrame Display</h2> | |
<div class="table-container"> | |
{{ table_html|safe }} | |
</div> | |
</div> | |
<div class="container my-5"> | |
<h2>Pergerakan Harga Pembukaan dan Terakhir MA 30</h2> | |
<img src="{{ plot_ma_a }}" alt="Plot"> | |
</div> | |
<div class="container my-5"> | |
<h2>Pergerakan Harga Tertinggi dan Terendah MA 30</h2> | |
<img src="{{ plot_ma_b }}" alt="Plot"> | |
</div> | |
</body> | |
</html> |