Spaces:
Runtime error
Runtime error
more live debugging 'cause docker is hard
Browse files- README.md +1 -1
- language_models_project/app.py +2 -2
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Milestone
|
3 |
emoji: 📹
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
|
|
1 |
---
|
2 |
+
title: Milestone 4
|
3 |
emoji: 📹
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
language_models_project/app.py
CHANGED
@@ -15,8 +15,8 @@ import pandas as pd
|
|
15 |
#)
|
16 |
|
17 |
df = pd.read_csv("./train.csv")
|
18 |
-
toxic = df[df['
|
19 |
-
normal = df[df['
|
20 |
demo_phrases = pd.concat([toxic, normal]).astype(str).str.cat(sep="\n")
|
21 |
# title
|
22 |
st.title("Sentiment Analysis")
|
|
|
15 |
#)
|
16 |
|
17 |
df = pd.read_csv("./train.csv")
|
18 |
+
toxic = df[df['toxic'] == 1]['comment_text'].head(3)
|
19 |
+
normal = df[df['toxic'] == 0]['comment_text'].head(3)
|
20 |
demo_phrases = pd.concat([toxic, normal]).astype(str).str.cat(sep="\n")
|
21 |
# title
|
22 |
st.title("Sentiment Analysis")
|