mukhlishr commited on
Commit
209ef81
1 Parent(s): 3b4a01d

Update prediction.py

Browse files
Files changed (1) hide show
  1. prediction.py +0 -12
prediction.py CHANGED
@@ -1,8 +1,6 @@
1
  import streamlit as st
2
  import numpy as np
3
  import pandas as pd
4
- import matplotlib.pyplot as plt
5
- from PIL import Image
6
  import pickle
7
  from statsmodels.tsa.arima.model import ARIMA
8
  from datetime import datetime
@@ -22,16 +20,6 @@ with open('mod_train.pkl', 'rb') as file_1:
22
  # bikin fungsi
23
  def run():
24
 
25
- # Membuat file
26
- st.title( 'Time Series Forecasting')
27
-
28
- # Membuat sub header
29
- st.subheader('Best seller product')
30
-
31
- # Menambahkan gambar
32
- image = Image.open('ts.jpg')
33
- st.image(image, caption='Time Series Analysis')
34
-
35
  with st.form(key='Forecasting'):
36
  year = st.selectbox('Year', (2023,2024), index=0)
37
  month = st.selectbox('Month', (1,2,3,4,5,6,7,8,9,10,11,12), index=3)
 
1
  import streamlit as st
2
  import numpy as np
3
  import pandas as pd
 
 
4
  import pickle
5
  from statsmodels.tsa.arima.model import ARIMA
6
  from datetime import datetime
 
20
  # bikin fungsi
21
  def run():
22
 
 
 
 
 
 
 
 
 
 
 
23
  with st.form(key='Forecasting'):
24
  year = st.selectbox('Year', (2023,2024), index=0)
25
  month = st.selectbox('Month', (1,2,3,4,5,6,7,8,9,10,11,12), index=3)