Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ if user_input:
|
|
25 |
logits = outputs.logits
|
26 |
predicted_class_id = logits.argmax(-1).item()
|
27 |
|
28 |
-
# Example sentiment mapping (you might have your own)
|
29 |
-
sentiment_map = {0: "negative", 1: "neutral", 2: "positive"}
|
30 |
-
sentiment = sentiment_map[predicted_class_id]
|
31 |
|
32 |
-
st.write(f"Bot:
|
|
|
25 |
logits = outputs.logits
|
26 |
predicted_class_id = logits.argmax(-1).item()
|
27 |
|
28 |
+
# # Example sentiment mapping (you might have your own)
|
29 |
+
# sentiment_map = {0: "negative", 1: "neutral", 2: "positive"}
|
30 |
+
# sentiment = sentiment_map[predicted_class_id]
|
31 |
|
32 |
+
st.write(f"Bot: Normal conversational message.")
|