Spaces:
Runtime error
Runtime error
| 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)[0]["label"]) |