Azrieldr commited on
Commit
82a6a50
1 Parent(s): 57aeb64

Editing type of file that can be uploaded

Browse files
Files changed (1) hide show
  1. Prediction.py +1 -1
Prediction.py CHANGED
@@ -28,7 +28,7 @@ def predict(image):
28
  def app():
29
  st.title('CNN Image Classifier')
30
 
31
- uploaded_file = st.file_uploader("Choose an image...", type="jpg")
32
 
33
  if uploaded_file is not None:
34
  # Read the uploaded image
 
28
  def app():
29
  st.title('CNN Image Classifier')
30
 
31
+ uploaded_file = st.file_uploader("Choose an image...", type=['jpg', 'jpeg', 'png'])
32
 
33
  if uploaded_file is not None:
34
  # Read the uploaded image