Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
picaultj committed Feb 18, 2025
1 parent e4f3a7a commit 38363b2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions bertrend/BERTrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# See AUTHORS.txt
# SPDX-License-Identifier: MPL-2.0
# This file is part of BERTrend.
import copy
import os
import pickle

Expand All @@ -22,7 +21,6 @@

from bertrend import (
MODELS_DIR,
CACHE_PATH,
BERTREND_DEFAULT_CONFIG_PATH,
load_toml_config,
SIGNAL_EVOLUTION_DATA_DIR,
Expand Down
5 changes: 0 additions & 5 deletions bertrend_apps/prospective_demo/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@
ANALYSIS_ICON,
NEWSLETTER_ICON,
SERVER_STORAGE_ICON,
TOPIC_ICON,
TREND_ICON,
MODELS_ICON,
)
from bertrend.demos.demos_utils.parameters_component import (
display_bertopic_hyperparameters,
display_bertrend_hyperparameters,
)
from bertrend.demos.demos_utils.state_utils import SessionStateManager
from bertrend_apps.prospective_demo.authentication import check_password
from bertrend_apps.prospective_demo.dashboard_analysis import dashboard_analysis
Expand Down
2 changes: 1 addition & 1 deletion bertrend_apps/prospective_demo/regenerate_past_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from loguru import logger

from bertrend.BERTopicModel import BERTopicModel
from bertrend.BERTrend import train_new_data, BERTrend
from bertrend.BERTrend import BERTrend
from bertrend.services.embedding_service import EmbeddingService
from bertrend.utils.data_loading import split_data, group_by_days, TEXT_COLUMN
from bertrend_apps.prospective_demo import get_user_models_path
Expand Down

0 comments on commit 38363b2

Please sign in to comment.