sohomghosh commited on
Commit
a0cad21
β€’
1 Parent(s): 388e05a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
- #import pickle
2
- import joblib
3
  import gradio as gr
4
  from sentence_transformers import SentenceTransformer
5
  import lightgbm
6
- lr_clf_finbert = joblib.load('lgb.pkl')#pickle.load(open("clf_lgbm_finbert.pickle", 'rb'))
7
  model = SentenceTransformer('ProsusAI/finbert')
8
 
9
  def get_readability(text):
 
1
+ import pickle
2
+ #import joblib
3
  import gradio as gr
4
  from sentence_transformers import SentenceTransformer
5
  import lightgbm
6
+ lr_clf_finbert = pickle.load(open("lr_clf_finbert.pickle", 'rb')) #joblib.load('lgb.pkl')
7
  model = SentenceTransformer('ProsusAI/finbert')
8
 
9
  def get_readability(text):