Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ else:
|
|
124 |
image1= Image.open(f)
|
125 |
st.image(image1,use_column_width = True)
|
126 |
image_path = f.name
|
127 |
-
predicted_label,variance_score = occ_predict(
|
128 |
#st.header(predicted_label)
|
129 |
#st.header(str(round(variance_score,2)))
|
130 |
string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))
|
|
|
124 |
image1= Image.open(f)
|
125 |
st.image(image1,use_column_width = True)
|
126 |
image_path = f.name
|
127 |
+
predicted_label,variance_score = occ_predict(image_path)
|
128 |
#st.header(predicted_label)
|
129 |
#st.header(str(round(variance_score,2)))
|
130 |
string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))
|