Jayesh13's picture
Update app.py
1077004
raw
history blame
214 Bytes
import streamlit as st
import pickle
from tensorflow.keras.models import load_model
model = load_model('tox_model.h5')
text = st.text_area('Enter some text')
if text:
out[6] = model.predict(text)
st.json(out)