Yah216 commited on
Commit
01fcc4c
1 Parent(s): a630ea7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ model = TFAutoModelForSequenceClassification.from_pretrained("Yah216/Sentiment_A
9
 
10
  labels= model.config.label2id
11
 
12
- text = st.text_area("Enter some text!")
13
  if text:
14
  out = tf.math.softmax(model(tokenizer(text, padding=True, truncation=True, return_tensors="np")).logits, axis = -1)
15
  res = out.numpy()
9
 
10
  labels= model.config.label2id
11
 
12
+ text = st.text_area("Enter some text in arabic language!")
13
  if text:
14
  out = tf.math.softmax(model(tokenizer(text, padding=True, truncation=True, return_tensors="np")).logits, axis = -1)
15
  res = out.numpy()