Yah216 commited on
Commit
ba56307
1 Parent(s): 6b5f7d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,4 +9,4 @@ pipe = pipeline("text-classification", model_ckpt)
9
 
10
  text = st.text_area("Enter some text in arabic language!")
11
  if text:
12
- st.write(pipe(text)["label"])
 
9
 
10
  text = st.text_area("Enter some text in arabic language!")
11
  if text:
12
+ st.write(pipe(text)[0]["label"])