From f059b323d285b749d89985acfca8fa3f2fdd8c0c Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Sun, 12 Mar 2023 02:54:06 +0000 Subject: [PATCH] Format Python code with psf/black push --- models/index_model.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/models/index_model.py b/models/index_model.py index 1975263..fc59f0c 100644 --- a/models/index_model.py +++ b/models/index_model.py @@ -747,10 +747,7 @@ class Index_handler: index_objects.append(index) llm_predictor = LLMPredictor( - llm=OpenAIChat( - temperature=0, - model_name="gpt-3.5-turbo" - ) + llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo") ) # For each index object, add its documents to a GPTTreeIndex @@ -916,10 +913,7 @@ class Index_handler: os.environ["OPENAI_API_KEY"] = user_api_key llm_predictor = LLMPredictor( - llm=OpenAIChat( - temperature=0, - model_name="gpt-3.5-turbo" - ) + llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo") ) ctx_response = await ctx.respond(