Spaces:
Runtime error
Runtime error
Commit
·
c668192
1
Parent(s):
9600adb
Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,15 @@ st.sidebar.write("This application uses the DistilBERT model, a distilled versio
|
|
55 |
st.sidebar.write("The specific DistilBERT model used for this is Bhadresh Savani's [distilbert-base-uncased-emotion] (https://huggingface.co/bhadresh-savani/distilbert-base-uncased-emotion). It is fine-tuned on the Emotion Dataset from Twitter, which can be found [here](https://huggingface.co/datasets/viewer/?dataset=emotion).")
|
56 |
|
57 |
st.sidebar.subheader("Disclaimer/Limitations")
|
58 |
-
st.sidebar.write("The model only outputs sadness, joy, love, anger, fear, and surprise. With that said, it does not completely encompass the emotions that a human being feels
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
|
62 |
tester(emo)
|
|
|
55 |
st.sidebar.write("The specific DistilBERT model used for this is Bhadresh Savani's [distilbert-base-uncased-emotion] (https://huggingface.co/bhadresh-savani/distilbert-base-uncased-emotion). It is fine-tuned on the Emotion Dataset from Twitter, which can be found [here](https://huggingface.co/datasets/viewer/?dataset=emotion).")
|
56 |
|
57 |
st.sidebar.subheader("Disclaimer/Limitations")
|
58 |
+
st.sidebar.write("The model only outputs sadness, joy, love, anger, fear, and surprise. With that said, it does not completely encompass the emotions that a human being feels, and the application only suggests a playlist based on the aforementioned emotions.")
|
59 |
|
60 |
+
st.sidebar.subheader("Performance Benchmarks")
|
61 |
+
|
62 |
+
df = pd.DataFrame(
|
63 |
+
np.random.randn(10, 5),
|
64 |
+
columns=('col %d' % i for i in range(5)))
|
65 |
+
|
66 |
+
st.sidebar.table(df)
|
67 |
|
68 |
|
69 |
tester(emo)
|