MarMont commited on
Commit
ad01359
·
1 Parent(s): c44a5c1

fixed inputs

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -510,6 +510,8 @@ def main(dataset, model):
510
  else:
511
  place_data = str(scrape(keyword_list))
512
  cleaning()
 
 
513
  if model == 'LDA':
514
  base_lda()
515
  coherence = hyperparameter_optimization()
@@ -534,7 +536,11 @@ examples = [
534
  ["taft"]
535
  ]
536
  iface = gr.Interface(fn=main,
537
- inputs=["text",
 
 
 
 
538
  gr.Dropdown(["LDA",
539
  "BERTopic"],
540
  label="Model")
 
510
  else:
511
  place_data = str(scrape(keyword_list))
512
  cleaning()
513
+
514
+ print(df)
515
  if model == 'LDA':
516
  base_lda()
517
  coherence = hyperparameter_optimization()
 
536
  ["taft"]
537
  ]
538
  iface = gr.Interface(fn=main,
539
+ inputs=[gr.Dropdown(["katip,katipunan",
540
+ "bgc,bonifacio global city",
541
+ "cubao",
542
+ "taft",
543
+ "pobla,poblacion"]),
544
  gr.Dropdown(["LDA",
545
  "BERTopic"],
546
  label="Model")