File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55 dest : resources/nltk_data/
66 - source : resources/examples/
77 dest : resources/examples/
8+ - source : resources/images/
9+ dest : resources/images/
810 - source : webui/
911 dest : webui/
1012 - source : webui/app.py
Original file line number Diff line number Diff line change 88import pandas as pd
99from dotenv import load_dotenv
1010
11+ from graphgen .graphgen import GraphGen
12+ from graphgen .models import OpenAIModel , Tokenizer
13+ from graphgen .models .llm .limitter import RPM , TPM
14+ from graphgen .utils import set_logger
1115from webui .base import GraphGenParams
1216from webui .cache_utils import cleanup_workspace , setup_workspace
1317from webui .count_tokens import count_tokens
1418from webui .i18n import Translate
1519from webui .i18n import gettext as _
1620from webui .test_api import test_api_connection
1721
18- # pylint: disable=wrong-import-position
19- # root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
2022root_dir = files ("webui" ).parent
2123sys .path .append (root_dir )
2224
23- from graphgen .graphgen import GraphGen
24- from graphgen .models import OpenAIModel , Tokenizer
25- from graphgen .models .llm .limitter import RPM , TPM
26- from graphgen .utils import set_logger
2725
2826load_dotenv ()
2927
You can’t perform that action at this time.
0 commit comments