Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Torchee/ConvoKit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Xia committed Oct 11, 2024
2 parents c20597d + ed28f9f commit eda88c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion convokit/convokitConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ def model_directory(self):

@property
def default_backend(self):
return self._get_config_from_env_or_file("default_backend", "mem")
return self._get_config_from_env_or_file("default_backend", "mem")
4 changes: 2 additions & 2 deletions convokit/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def download(
custom_data_dir = data_dir

config = ConvoKitConfig()
data_dir = config.data_directory
data_dir = config.data_directory
data_dir = os.path.expanduser(data_dir)
# pkg_resources.resource_filename("convokit", "")
if not os.path.exists(data_dir):
Expand Down Expand Up @@ -194,7 +194,7 @@ def download_local(name: str, data_dir: str):
"""
custom_data_dir = data_dir
config = ConvoKitConfig()
data_dir = config.data_directory
data_dir = config.data_directory

# pkg_resources.resource_filename("convokit", "")
if not os.path.exists(data_dir):
Expand Down

0 comments on commit eda88c1

Please sign in to comment.