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