Skip to content

Commit

Permalink
change leiden path;
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSkyLi committed Aug 22, 2024
1 parent bd32950 commit 998ee56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dbgpt/storage/graph_store/tugraph_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def _upload_plugin(self):

if len(missing_plugins):
for name in missing_plugins:
plugin_path = os.path.join(os.path.dirname(__file__), 'plugins', f'{name}.so')
from dbgpt_tugraph_plugins import get_plugin_binary_path
plugin_path = get_plugin_binary_path("leiden")
print(plugin_path)
with open(plugin_path, 'rb') as f:
content = f.read()
content = base64.b64encode(content).decode()
Expand Down

0 comments on commit 998ee56

Please sign in to comment.