remove share=True
Browse files
app.py
CHANGED
@@ -519,9 +519,9 @@ def main(dataset, model):
|
|
519 |
place_data = str(scrape(keyword_list))
|
520 |
print(df)
|
521 |
|
522 |
-
print(df)
|
523 |
if model == 'LDA':
|
524 |
top_tweets = full_lda(df)
|
|
|
525 |
else:
|
526 |
base_bertopic()
|
527 |
optimized_bertopic()
|
@@ -550,4 +550,4 @@ iface = gr.Interface(fn=main,
|
|
550 |
"text"],
|
551 |
enable_queue=True,
|
552 |
debug=True)
|
553 |
-
iface.launch(debug=True, enable_queue=True
|
|
|
519 |
place_data = str(scrape(keyword_list))
|
520 |
print(df)
|
521 |
|
|
|
522 |
if model == 'LDA':
|
523 |
top_tweets = full_lda(df)
|
524 |
+
place_data = 'test'
|
525 |
else:
|
526 |
base_bertopic()
|
527 |
optimized_bertopic()
|
|
|
550 |
"text"],
|
551 |
enable_queue=True,
|
552 |
debug=True)
|
553 |
+
iface.launch(debug=True, enable_queue=True)
|