Spaces:
Runtime error
Runtime error
Commit
·
a339abc
1
Parent(s):
8a29f12
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import base64
|
|
| 3 |
import cv2
|
| 4 |
import streamlit as st
|
| 5 |
from fastai.vision.all import *
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
|
|
@@ -14,8 +15,6 @@ categories = ('Dog Destroying Stuff','Neutral')
|
|
| 14 |
@st.cache(allow_output_mutation=True)
|
| 15 |
|
| 16 |
|
| 17 |
-
|
| 18 |
-
st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
|
| 19 |
upload= st.file_uploader('Insert image for classification', type=['png','jpg'])
|
| 20 |
c1, c2= st.columns(2)
|
| 21 |
|
|
|
|
| 3 |
import cv2
|
| 4 |
import streamlit as st
|
| 5 |
from fastai.vision.all import *
|
| 6 |
+
st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
|
| 7 |
|
| 8 |
|
| 9 |
|
|
|
|
| 15 |
@st.cache(allow_output_mutation=True)
|
| 16 |
|
| 17 |
|
|
|
|
|
|
|
| 18 |
upload= st.file_uploader('Insert image for classification', type=['png','jpg'])
|
| 19 |
c1, c2= st.columns(2)
|
| 20 |
|