From 2a5171507571e104f443bce05310301ebb931d81 Mon Sep 17 00:00:00 2001 From: binary-husky Date: Sat, 9 Sep 2023 20:15:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DDockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crazy_functions/解析项目源代码.py | 5 +++-- docs/GithubAction+AllCapacity | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/crazy_functions/解析项目源代码.py b/crazy_functions/解析项目源代码.py index 926b629..debcb51 100644 --- a/crazy_functions/解析项目源代码.py +++ b/crazy_functions/解析项目源代码.py @@ -1,4 +1,4 @@ -from toolbox import update_ui, promote_file_to_downloadzone +from toolbox import update_ui, promote_file_to_downloadzone, disable_auto_promotion from toolbox import CatchException, report_execption, write_history_to_file from .crazy_utils import input_clipping @@ -6,7 +6,8 @@ def 解析源代码新(file_manifest, project_folder, llm_kwargs, plugin_kwargs, import os, copy from .crazy_utils import request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency from .crazy_utils import request_gpt_model_in_new_thread_with_ui_alive - msg = '正常' + disable_auto_promotion(chatbot=chatbot) + summary_batch_isolation = True inputs_array = [] inputs_show_user_array = [] diff --git a/docs/GithubAction+AllCapacity b/docs/GithubAction+AllCapacity index 82ddd08..f6f05da 100644 --- a/docs/GithubAction+AllCapacity +++ b/docs/GithubAction+AllCapacity @@ -1,7 +1,7 @@ # docker build -t gpt-academic-all-capacity -f docs/GithubAction+AllCapacity --network=host --build-arg http_proxy=http://localhost:10881 --build-arg https_proxy=http://localhost:10881 . # 从NVIDIA源,从而支持显卡(检查宿主的nvidia-smi中的cuda版本必须>=11.3) -FROM fuqingxu/11.3.1-runtime-ubuntu20.04-with-texlive-cache:latest +FROM fuqingxu/11.3.1-runtime-ubuntu20.04-with-texlive:latest # use python3 as the system default python WORKDIR /gpt