Spaces:
Runtime error
Runtime error
Jeffrey Rathgeber Jr
commited on
test table
Browse files
app.py
CHANGED
@@ -104,14 +104,14 @@ if option == 'MILESTONE 3':
|
|
104 |
|
105 |
# st.write(pred_data[0]['label'])
|
106 |
|
107 |
-
for i in range(10):
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
|
116 |
st.table(df)
|
117 |
|
|
|
104 |
|
105 |
# st.write(pred_data[0]['label'])
|
106 |
|
107 |
+
# for i in range(10):
|
108 |
+
# HTCO[i]=pred_data[i]['label']
|
109 |
+
|
110 |
+
df = df.assign(Tweet=pre_populated_tweets)
|
111 |
+
df = df.assign(Highest_Toxicity_Class_Overall=HTCO)
|
112 |
+
df = df.assign(Score_Overall=SO)
|
113 |
+
df = df.assign(Highest_Toxicity_Class_Except_Toxic=HTCET)
|
114 |
+
df = df.assign(Score_Except_Toxic=SET)
|
115 |
|
116 |
st.table(df)
|
117 |
|