dexay commited on
Commit
25a02b8
·
1 Parent(s): 9f2aa13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 text:
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