Update README.md
Browse files
README.md
CHANGED
@@ -53,13 +53,13 @@ if st.button("Test"):
|
|
53 |
output = model.predict(inputv)
|
54 |
res = (output > 0.5)
|
55 |
st.write(["toxic","severe toxic","obscene","threat","insult","identity hate"], res)
|
56 |
-
|
57 |
```
|
58 |
|
59 |
|
60 |
Put `toxmodel.keras` and `vectorizer.pkl` into the `model` dir.
|
61 |
|
62 |
-
Then do
|
63 |
```
|
64 |
stramlit run toxtest.py
|
65 |
```
|
|
|
53 |
output = model.predict(inputv)
|
54 |
res = (output > 0.5)
|
55 |
st.write(["toxic","severe toxic","obscene","threat","insult","identity hate"], res)
|
56 |
+
st.write(output)
|
57 |
```
|
58 |
|
59 |
|
60 |
Put `toxmodel.keras` and `vectorizer.pkl` into the `model` dir.
|
61 |
|
62 |
+
Then do:
|
63 |
```
|
64 |
stramlit run toxtest.py
|
65 |
```
|