Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ token_classifier = pipeline("token-classification", tokenizer = tokenizer,model=
|
|
9 |
|
10 |
x = st.text_area('enter text')
|
11 |
|
12 |
-
if
|
13 |
out = token_classifier(x)
|
14 |
st.json(out)
|
15 |
|
|
|
9 |
|
10 |
x = st.text_area('enter text')
|
11 |
|
12 |
+
if x:
|
13 |
out = token_classifier(x)
|
14 |
st.json(out)
|
15 |
|