abcdef12356 commited on
Commit
0e256ab
·
1 Parent(s): 5ffb360

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import cv2
2
  import streamlit as st
3
  from fastai.vision.all import *
4
  st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
5
-
6
  upload = st.file_uploader('Insert image for classification', type=['png','jpg'])
7
  c1, c2= st.columns(2)
8
  if upload is not None:
 
2
  import streamlit as st
3
  from fastai.vision.all import *
4
  st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
5
+ learn = load_learner('export (5).pkl')
6
  upload = st.file_uploader('Insert image for classification', type=['png','jpg'])
7
  c1, c2= st.columns(2)
8
  if upload is not None: