rajistics commited on
Commit
bbc6b50
1 Parent(s): 19a1b5d

slight name change

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,8 +67,8 @@ def fls(text):
67
  sents_list = []
68
  for sent in doc.sents:
69
  sents_list.append(sent.text)
70
- fin_model = pipeline("text-classification", model="yiyanghkust/finbert-fls", tokenizer="yiyanghkust/finbert-fls")
71
- results = fin_model(sents_list)
72
  print (results)
73
  results_list = []
74
  for i in range(len(results)):
 
67
  sents_list = []
68
  for sent in doc.sents:
69
  sents_list.append(sent.text)
70
+ fls_model = pipeline("text-classification", model="yiyanghkust/finbert-fls", tokenizer="yiyanghkust/finbert-fls")
71
+ results = fls_model(sents_list)
72
  print (results)
73
  results_list = []
74
  for i in range(len(results)):