Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import numpy as np
|
|
6 |
from keras.models import model_from_json
|
7 |
|
8 |
st.markdown('<h1 style="color:white;">CNN Image classification model</h1>', unsafe_allow_html=True)
|
9 |
-
st.markdown('<h2 style="color:
|
10 |
|
11 |
st.cache(allow_output_mutation=True)
|
12 |
def get_base64_of_bin_file(bin_file):
|
@@ -75,7 +75,7 @@ def image_prediction(image, model):
|
|
75 |
|
76 |
def main():
|
77 |
|
78 |
-
image_file = st.file_uploader("Upload an image", type=['jpg', 'jpeg', 'png'])
|
79 |
|
80 |
if image_file:
|
81 |
|
|
|
6 |
from keras.models import model_from_json
|
7 |
|
8 |
st.markdown('<h1 style="color:white;">CNN Image classification model</h1>', unsafe_allow_html=True)
|
9 |
+
st.markdown('<h2 style="color:white;">The image classification model classifies images into zebra and horse', unsafe_allow_html=True)
|
10 |
|
11 |
st.cache(allow_output_mutation=True)
|
12 |
def get_base64_of_bin_file(bin_file):
|
|
|
75 |
|
76 |
def main():
|
77 |
|
78 |
+
image_file = st.file_uploader("Upload an image", type=['jpg', 'jpeg', 'png'],label_visibility="visible")
|
79 |
|
80 |
if image_file:
|
81 |
|