From a3763e68a1ebe241800cb6d915f954d3e101eaf0 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 25 Jan 2023 19:23:37 +0000 Subject: [PATCH] Format Python code with psf/black push --- gpt3discord.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gpt3discord.py b/gpt3discord.py index 6344ec9..87de31c 100644 --- a/gpt3discord.py +++ b/gpt3discord.py @@ -62,7 +62,10 @@ if PINECONE_TOKEN: pod_type="s1", ) PINECONE_INDEX_SEARCH = "search-embeddings" - if EnvService.get_google_search_api_key() and EnvService.get_google_search_engine_id(): + if ( + EnvService.get_google_search_api_key() + and EnvService.get_google_search_engine_id() + ): if PINECONE_INDEX_SEARCH not in pinecone.list_indexes(): print("Creating pinecone index for seraches. Please wait...") pinecone.create_index(