Quintino Fernandes
commited on
Commit
·
28ec96b
1
Parent(s):
fc4aec6
LexRank import fix
Browse files
database/query_processor.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
-
from LexRank import degree_centrality_scores
|
| 4 |
|
| 5 |
class QueryProcessor:
|
| 6 |
def __init__(self, embedding_model, summarization_model, nlp_model, db_service):
|
|
|
|
| 1 |
+
import datetime
|
| 2 |
+
from typing import List, Dict, Any, Optional
|
| 3 |
import numpy as np
|
| 4 |
+
from models.LexRank import degree_centrality_scores
|
| 5 |
|
| 6 |
class QueryProcessor:
|
| 7 |
def __init__(self, embedding_model, summarization_model, nlp_model, db_service):
|