Yah216 commited on
Commit
2afce50
1 Parent(s): f91fdba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ labels= model.config.label2id
11
 
12
  text = st.text_area("Enter some text!")
13
  if text:
14
- out = tf.math.softmax(model(tokenizer(raw_inputs, padding=True, truncation=True, return_tensors="np")).logits, , axis = -1)
15
  res = out.numpy()
16
 
17
  labels['NEGATIVE'] = res[0,0]
 
11
 
12
  text = st.text_area("Enter some text!")
13
  if text:
14
+ out = tf.math.softmax(model(tokenizer(raw_inputs, padding=True, truncation=True, return_tensors="np")).logits, axis = -1)
15
  res = out.numpy()
16
 
17
  labels['NEGATIVE'] = res[0,0]