Spaces:
Sleeping
Sleeping
Vipul-Chauhan
commited on
Commit
•
50c9653
1
Parent(s):
4eeb82c
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def return_selected_cluster(ques):
|
|
158 |
def get_summary_answer(Question):
|
159 |
print("question: ", Question)
|
160 |
cluster_selected = return_selected_cluster(Question)
|
161 |
-
|
162 |
temp_df = newsdf_sample[newsdf_sample.exp25==cluster_selected]
|
163 |
tfidf_ques = vectorizer.transform([process_row(Question)]).todense()
|
164 |
cosine_score = []
|
|
|
158 |
def get_summary_answer(Question):
|
159 |
print("question: ", Question)
|
160 |
cluster_selected = return_selected_cluster(Question)
|
161 |
+
print("cluster selected - ",cluster_selected)
|
162 |
temp_df = newsdf_sample[newsdf_sample.exp25==cluster_selected]
|
163 |
tfidf_ques = vectorizer.transform([process_row(Question)]).todense()
|
164 |
cosine_score = []
|