This commit is contained in:
Soulter
2023-10-02 10:35:51 +08:00
parent 3198f73f3d
commit 3424b658f3
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -4,7 +4,6 @@ import warnings
warnings.filterwarnings("ignore")
abs_path = os.path.dirname(os.path.realpath(sys.argv[0])) + '/'
os.chdir(abs_path)
def main():
try:
+1 -1
View File
@@ -9,7 +9,7 @@ import threading
from util import general_utils as gu
abs_path = os.path.dirname(os.path.realpath(sys.argv[0])) + '/'
key_record_path = abs_path+'chatgpt_key_record'
key_record_path = abs_path + 'chatgpt_key_record'
class ProviderOpenAIOfficial(Provider):
def __init__(self, cfg):