Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,7 @@ else:
|
|
46 |
image = Image.open(file)
|
47 |
st.image(image, use_column_width=True)
|
48 |
predictions = upload_predict(image, model)
|
49 |
-
image_class = str(predictions
|
50 |
-
|
51 |
st.write("The image is classified as",image_class)
|
52 |
-
|
53 |
-
print("The image is classified as ",image_class, "with a similarity score of",score)
|
|
|
46 |
image = Image.open(file)
|
47 |
st.image(image, use_column_width=True)
|
48 |
predictions = upload_predict(image, model)
|
49 |
+
image_class = str(predictions)
|
50 |
+
|
51 |
st.write("The image is classified as",image_class)
|
52 |
+
|
|