strongpear
commited on
Commit
·
be1a509
1
Parent(s):
8bcf3e5
Update app.py
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ class inferSSCL():
|
|
195 |
|
196 |
return s
|
197 |
|
198 |
-
def get_predict(self, top_pred, aspect_label, threshold=
|
199 |
pred = {'none':0, 'do_an': 0, 'gia_ca':0, 'khong_gian': 0, 'phuc_vu': 0}
|
200 |
try:
|
201 |
for i in range(len(top_pred)):
|
|
|
195 |
|
196 |
return s
|
197 |
|
198 |
+
def get_predict(self, top_pred, aspect_label, threshold=4):
|
199 |
pred = {'none':0, 'do_an': 0, 'gia_ca':0, 'khong_gian': 0, 'phuc_vu': 0}
|
200 |
try:
|
201 |
for i in range(len(top_pred)):
|