AfaqJamshaid/Text_classification
0
1import streamlit as st2from inference import predict3 4st.title("Your Model Interface")5 6# Input text box7text = st.text_area("Enter text for prediction", "")8 9if st.button("Predict"):10 prediction = predict(text)11 st.success(f"Predicted Label: {prediction}")12 