Spaces:
Running
Running
Commit
·
a373cba
1
Parent(s):
41fecdc
fixed the path issue with the model weight
Browse files
__pycache__/app.cpython-311.pyc
ADDED
Binary file (1.24 kB). View file
|
|
classifier/Albert_latest.py
CHANGED
@@ -32,8 +32,7 @@ class Model:
|
|
32 |
return predictions[0].tolist()
|
33 |
|
34 |
model_instance = None
|
35 |
-
model_weights = "
|
36 |
-
|
37 |
def get_model():
|
38 |
global model_instance
|
39 |
if model_instance is None:
|
|
|
32 |
return predictions[0].tolist()
|
33 |
|
34 |
model_instance = None
|
35 |
+
model_weights = "assets/albert_sentiment_checkpoint_58.pt"
|
|
|
36 |
def get_model():
|
37 |
global model_instance
|
38 |
if model_instance is None:
|
classifier/__pycache__/Albert_latest.cpython-311.pyc
ADDED
Binary file (3.36 kB). View file
|
|