oracat commited on
Commit
f87eabb
·
1 Parent(s): 8397f59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def process(text):
18
  """
19
  pipe = pipeline("text-classification", model=model, tokenizer=tokenizer)
20
  result = pipe(text)[0]
21
- return result'label']
22
 
23
 
24
  tokenizer, model = prepare_model()
 
18
  """
19
  pipe = pipeline("text-classification", model=model, tokenizer=tokenizer)
20
  result = pipe(text)[0]
21
+ return result['label']
22
 
23
 
24
  tokenizer, model = prepare_model()