From fdc0163f7e5993a8c7e9162455c6662eb0932f0f Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 14 Dec 2023 11:40:59 -0800 Subject: [PATCH] [CLEANUP][GEMINI] --- gemini.py => playground/models/gemini.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename gemini.py => playground/models/gemini.py (80%) diff --git a/gemini.py b/playground/models/gemini.py similarity index 80% rename from gemini.py rename to playground/models/gemini.py index 79058efb..42fa4e74 100644 --- a/gemini.py +++ b/playground/models/gemini.py @@ -7,9 +7,7 @@ load_dotenv() api_key = os.environ["GEMINI_API_KEY"] # Initialize the model -model = Gemini( - gemini_api_key="AIzaSyCUMFvG3TwwuZIniSpvDeP2AW5USyJUgJM" -) +model = Gemini(gemini_api_key=api_key) # Establish the prompt and image task = "What is your name"