fix examples
Browse files
app.py
CHANGED
@@ -517,16 +517,21 @@ def optimized_bertopic(df):
|
|
517 |
return top_tweets
|
518 |
|
519 |
global examples
|
520 |
-
examples = [["katip,katipunan",
|
521 |
-
|
522 |
-
"
|
523 |
-
"
|
524 |
-
"
|
525 |
-
|
|
|
|
|
|
|
|
|
|
|
526 |
|
527 |
def main(dataset, model
|
528 |
# progress=gr.Progress(track_tqdm=True)
|
529 |
-
|
530 |
global df
|
531 |
examples = [ "katip,katipunan",
|
532 |
"bgc,bonifacio global city",
|
|
|
517 |
return top_tweets
|
518 |
|
519 |
global examples
|
520 |
+
examples = [["katip,katipunan", "LDA"],
|
521 |
+
["katip,katipunan", "BERTopic"],
|
522 |
+
["bgc,bonifacio global city", "LDA"],
|
523 |
+
["bgc,bonifacio global city", "LDA"],
|
524 |
+
["pobla,poblacion", "LDA"],
|
525 |
+
["pobla,poblacion", "BERTopic"],
|
526 |
+
["cubao","LDA"],
|
527 |
+
["cubao","BERTopic"],
|
528 |
+
["taft", "LDA"],
|
529 |
+
["taft", "BERTopic"]
|
530 |
+
]
|
531 |
|
532 |
def main(dataset, model
|
533 |
# progress=gr.Progress(track_tqdm=True)
|
534 |
+
):
|
535 |
global df
|
536 |
examples = [ "katip,katipunan",
|
537 |
"bgc,bonifacio global city",
|