Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"])
|