Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -271,10 +271,10 @@ from collections import Counter
|
|
271 |
|
272 |
|
273 |
def extract_problem_domains(df,
|
274 |
-
text_column='Processed_ProblemDescription_forDomainExtraction',
|
275 |
-
# text_column='Problem_Description',
|
276 |
-
cluster_range=(
|
277 |
-
top_words=
|
278 |
method='sentence_transformers'
|
279 |
# method='tfidf_kmeans'
|
280 |
):
|
@@ -496,7 +496,7 @@ interface = gr.Interface(
|
|
496 |
|
497 |
outputs=[
|
498 |
gr.File(label="Download the processed Excel File containing the ** Project Proposals ** for each Location~Problem paired combination"), # File download output
|
499 |
-
gr.Textbox(label="Console Messages", lines=
|
500 |
],
|
501 |
|
502 |
|
|
|
271 |
|
272 |
|
273 |
def extract_problem_domains(df,
|
274 |
+
text_column='Processed_ProblemDescription_forDomainExtraction',
|
275 |
+
# text_column='Problem_Description',
|
276 |
+
cluster_range=(5, 15),
|
277 |
+
top_words=10,
|
278 |
method='sentence_transformers'
|
279 |
# method='tfidf_kmeans'
|
280 |
):
|
|
|
496 |
|
497 |
outputs=[
|
498 |
gr.File(label="Download the processed Excel File containing the ** Project Proposals ** for each Location~Problem paired combination"), # File download output
|
499 |
+
gr.Textbox(label="Console Messages", lines=15, interactive=False) # Console messages output
|
500 |
],
|
501 |
|
502 |
|