MarMont commited on
Commit
11947a5
·
1 Parent(s): 2a1d8d5

fix examples

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -517,16 +517,21 @@ def optimized_bertopic(df):
517
  return top_tweets
518
 
519
  global examples
520
- examples = [["katip,katipunan",
521
- "bgc,bonifacio global city",
522
- "pobla,poblacion",
523
- "cubao",
524
- "taft"
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",