Update app.py
Browse files
app.py
CHANGED
@@ -61,5 +61,5 @@ if uploaded_file is not None:
|
|
61 |
predicted_class = id2label[predicted_class_idx]
|
62 |
|
63 |
st.write(f"Predicted Emotion: {predicted_class}")
|
64 |
-
|
65 |
-
|
|
|
61 |
predicted_class = id2label[predicted_class_idx]
|
62 |
|
63 |
st.write(f"Predicted Emotion: {predicted_class}")
|
64 |
+
except Exception as e:
|
65 |
+
st.write(f"Error during classification: {e}")
|