Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import requests
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# Configure Google Generative AI API
|
16 |
-
genai.configure(api_key="
|
17 |
|
18 |
def get_response(model, user_input, image, prompt):
|
19 |
"""Generate response from the model using input and image data."""
|
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# Configure Google Generative AI API
|
16 |
+
genai.configure(api_key=os.getenv("apikey"))
|
17 |
|
18 |
def get_response(model, user_input, image, prompt):
|
19 |
"""Generate response from the model using input and image data."""
|