excusmy commited on
Commit
87d3198
1 Parent(s): f35f776

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -12,6 +12,9 @@ from keras.preprocessing import image as ig
12
  import numpy as np
13
  from PIL import Image
14
 
 
 
 
15
  model_saved = tf.keras.models.load_model('model_cnn_final.h5')
16
  labels = ['paper','scissors','rock']
17
  nb = len(labels)
@@ -43,5 +46,5 @@ if file is not None:
43
  use_column_width=True,
44
  )
45
  image = np.array(image)
46
- if st.checkbox('Tampilkan Hasil Klasifikasi'):
47
  run_data(image)
 
12
  import numpy as np
13
  from PIL import Image
14
 
15
+ st.title("Klasfisikasi Batu Kertas Gunting")
16
+ st.caption("Untuk data bisa di download disini")
17
+ st.link_button("Link Berikut", "https://www.kaggle.com/datasets/drgfreeman/rockpaperscissors/download?datasetVersionNumber=2")
18
  model_saved = tf.keras.models.load_model('model_cnn_final.h5')
19
  labels = ['paper','scissors','rock']
20
  nb = len(labels)
 
46
  use_column_width=True,
47
  )
48
  image = np.array(image)
49
+ if st.button('Tampilkan Hasil Klasifikasi'):
50
  run_data(image)