Spaces:
Runtime error
Runtime error
thepolymerguy
commited on
Commit
•
85ddf43
1
Parent(s):
29521d8
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ abstract = """
|
|
43 |
"""
|
44 |
|
45 |
abstract= classification.clean_data(abstract, type='String')
|
46 |
-
abstract_embedding = classification.sentence_embedder(abstract,
|
47 |
Number = 10
|
48 |
broad_scope_predictions = classification.broad_scope_class_predictor(class_embeddings, abstract_embedding, Number, Sensitivity='High')
|
49 |
|
|
|
43 |
"""
|
44 |
|
45 |
abstract= classification.clean_data(abstract, type='String')
|
46 |
+
abstract_embedding = classification.sentence_embedder(abstract, 'Model_bert')
|
47 |
Number = 10
|
48 |
broad_scope_predictions = classification.broad_scope_class_predictor(class_embeddings, abstract_embedding, Number, Sensitivity='High')
|
49 |
|