# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("OatNapat/finetuned_yelp") model = AutoModelForSequenceClassification.from_pretrained("OatNapat/finetuned_yelp") # Use a pipeline as a high-level helper from transformers import pipeline nlp = pipeline("text-classification", model="zfox/finetuning-sentiment-model-3000-samples") text = st.text_input('กรุณาถอดรองเท้า')