From 27f16b3dff635695d9175c818939c44b6d2d1722 Mon Sep 17 00:00:00 2001 From: Azmikun1 Date: Sun, 28 Jun 2026 21:25:01 +0700 Subject: [PATCH] new --- app.py | 33 +++++++++++++++++++++++++++++++++ eth_backup.csv | 5 ++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index f73f300..119f52b 100644 --- a/app.py +++ b/app.py @@ -415,6 +415,39 @@ if df is not None and model is not None and scaler is not None: st.markdown("", unsafe_allow_html=True) st.markdown("
", unsafe_allow_html=True) + + #Test + st.subheader("๐Ÿ“ˆ Grafik Detail Prediksi") + + fig2, ax2 = plt.subplots(figsize=(12, 5)) + + ax2.plot( + future_dates, + future_predictions.flatten(), + marker='o', + linewidth=2.5 + ) + + ax2.set_title( + "Grafik Detail Hasil Prediksi Harga Ethereum", + fontsize=14, + fontweight="bold" + ) + + ax2.set_xlabel("Tanggal") + ax2.set_ylabel("Harga Prediksi (USD)") + + ax2.grid(True, alpha=0.3) + + plt.xticks(rotation=45) + plt.tight_layout() + + st.pyplot(fig2) + + st.markdown("
", unsafe_allow_html=True) + + st.markdown("
", unsafe_allow_html=True) + st.subheader("๐Ÿงพ Tabel Detail Prediksi") prediction_table_df = pd.DataFrame({ "Tanggal": [d.strftime("%Y-%m-%d") for d in future_dates], diff --git a/eth_backup.csv b/eth_backup.csv index 6d37902..33c3b33 100644 --- a/eth_backup.csv +++ b/eth_backup.csv @@ -905,4 +905,7 @@ Date,Close,High,Low,Open,Volume 2026-06-22,1726.5108642578125,1776.8321533203125,1704.5166015625,1704.6304931640625,13584368622 2026-06-23,1665.436767578125,1733.6123046875,1638.253173828125,1726.519775390625,10431438278 2026-06-24,1619.9249267578125,1687.4923095703125,1551.4842529296875,1665.309814453125,14059894232 -2026-06-26,1556.2900390625,1568.429443359375,1556.8143310546875,1564.8594970703125,15403906048 +2026-06-25,1564.816650390625,1656.646484375,1531.7803955078125,1619.8853759765625,15976182558 +2026-06-26,1576.6160888671875,1590.2000732421875,1510.505859375,1564.6136474609375,15272225856 +2026-06-27,1571.5882568359375,1607.865966796875,1561.972900390625,1576.5911865234375,6111411513 +2026-06-28,1579.5999755859375,1582.509033203125,1561.6748046875,1571.6817626953125,6003073536