Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,5 +6,5 @@ model = load_model('tox_model.h5')
|
|
| 6 |
text = st.text_area('Enter some text')
|
| 7 |
|
| 8 |
if text:
|
| 9 |
-
out = model.predict(text)
|
| 10 |
st.json(out)
|
|
|
|
| 6 |
text = st.text_area('Enter some text')
|
| 7 |
|
| 8 |
if text:
|
| 9 |
+
out[6] = model.predict(text)
|
| 10 |
st.json(out)
|