mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 10:15:21 +00:00
Update app.py
This commit is contained in:
1 parent
897b4ef2cd
commit
c216bea031
1 file changed
+4
-1
+4
-1
@@ -43,7 +43,10 @@ from worker import ingest_worker
|
||||
# os.environ["LANGCHAIN_HANDLER"] = "langchain"
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
gpt_model = 'gpt-3.5-turbo' # gpt-4
|
||||
if settings.LLM_NAME == "gpt4":
|
||||
gpt_model = 'gpt-4'
|
||||
else:
|
||||
gpt_model = 'gpt-3.5-turbo'
|
||||
|
||||
if settings.LLM_NAME == "manifest":
|
||||
from manifest import Manifest
|
||||
|
||||
Reference in new issue
Block a user