Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm committed Dec 4, 2024
1 parent 048a562 commit 1490677
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions deepsearch_glm/glm_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"""Module to query the GLM"""

import argparse
import json

import pandas as pd
from tabulate import tabulate

from deepsearch_glm.andromeda_glm import glm_query
Expand Down
2 changes: 0 additions & 2 deletions deepsearch_glm/nlp_model_training/name_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import re

import pandas as pd
from tabulate import tabulate
from tqdm import tqdm

from deepsearch_glm.glm_utils import read_edges_in_dataframe, read_nodes_in_dataframe
from deepsearch_glm.nlp_utils import (
Expand Down
2 changes: 0 additions & 2 deletions deepsearch_glm/nlp_model_training/person_name_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
import json
import os
import random
import re

import pandas as pd
from tabulate import tabulate
from tqdm import tqdm

from deepsearch_glm.glm_utils import read_edges_in_dataframe, read_nodes_in_dataframe
Expand Down
3 changes: 0 additions & 3 deletions deepsearch_glm/nlp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ def init_nlp_model(
model = nlp_model()
model.set_loglevel(loglevel)

configs = model.get_apply_configs()
# print(json.dumps(configs, indent=2))

config = model.get_apply_configs()[0]
config["models"] = model_names
config["subject-filters"] = filters
Expand Down
1 change: 0 additions & 1 deletion tests/test_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import json

import pandas as pd
from tabulate import tabulate

from deepsearch_glm.andromeda_structs import ds_document, ds_table, ds_text
from deepsearch_glm.nlp_utils import init_nlp_model
Expand Down

0 comments on commit 1490677

Please sign in to comment.