appp
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ if uploaded_file is not None:
|
|
32 |
labels = [model.config.id2label[_id] for _id in predicted_ids.tolist()]
|
33 |
|
34 |
# Display the result
|
35 |
-
st.write("Predicted Emotion:", labels[0])
|
36 |
|
37 |
# Alternatively using the pipeline
|
38 |
results = classifier(uploaded_file, top_k=5)
|
|
|
32 |
labels = [model.config.id2label[_id] for _id in predicted_ids.tolist()]
|
33 |
|
34 |
# Display the result
|
35 |
+
# st.write("Predicted Emotion:", labels[0])
|
36 |
|
37 |
# Alternatively using the pipeline
|
38 |
results = classifier(uploaded_file, top_k=5)
|