Spaces:
Build error
Build error
sohomghosh
commited on
Commit
β’
a0cad21
1
Parent(s):
388e05a
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
|
2 |
-
import joblib
|
3 |
import gradio as gr
|
4 |
from sentence_transformers import SentenceTransformer
|
5 |
import lightgbm
|
6 |
-
lr_clf_finbert =
|
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):
|