Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ if uploaded_file is not None:
|
|
42 |
predicted_class = class_scores.argmax()
|
43 |
|
44 |
|
45 |
-
classes = ['Low Quality', 'Medium Quality', 'High Quality']
|
46 |
st.write(f"**Prediction:** {classes[predicted_class]}")
|
47 |
st.write(f"**Confidence:** {np.max(class_scores) * 100:.2f}%")
|
48 |
|
|
|
42 |
predicted_class = class_scores.argmax()
|
43 |
|
44 |
|
45 |
+
classes = ['Low Quality', 'Medium Quality', 'High Quality']
|
46 |
st.write(f"**Prediction:** {classes[predicted_class]}")
|
47 |
st.write(f"**Confidence:** {np.max(class_scores) * 100:.2f}%")
|
48 |
|