Yah216's picture
Update app.py
6b5f7d3
raw history blame
No virus
307 Bytes
import streamlit as st
import tensorflow as tf
from transformers import pipeline
model_ckpt = "Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD"
pipe = pipeline("text-classification", model_ckpt)
text = st.text_area("Enter some text in arabic language!")
if text:
st.write(pipe(text)["label"])