Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ else:
|
|
133 |
#image_path = Path(f.name)
|
134 |
#st.write(image_path)
|
135 |
|
136 |
-
predicted_label,variance_score = occ_predict(f)
|
137 |
#st.header(predicted_label)
|
138 |
#st.header(str(round(variance_score,2)))
|
139 |
string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))
|
|
|
133 |
#image_path = Path(f.name)
|
134 |
#st.write(image_path)
|
135 |
|
136 |
+
predicted_label,variance_score = occ_predict(str(f))
|
137 |
#st.header(predicted_label)
|
138 |
#st.header(str(round(variance_score,2)))
|
139 |
string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))
|