Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import google.generativeai as genai
|
|
5 |
from PIL import Image
|
6 |
|
7 |
load_dotenv()
|
8 |
-
GOOGLE_API_KEY = os.getenv("
|
9 |
if not GOOGLE_API_KEY:
|
10 |
raise ValueError("GOOGLE_API_KEY not found in environment variables")
|
11 |
genai.configure(api_key=GOOGLE_API_KEY)
|
|
|
5 |
from PIL import Image
|
6 |
|
7 |
load_dotenv()
|
8 |
+
GOOGLE_API_KEY = os.getenv("GOOGLE_API")
|
9 |
if not GOOGLE_API_KEY:
|
10 |
raise ValueError("GOOGLE_API_KEY not found in environment variables")
|
11 |
genai.configure(api_key=GOOGLE_API_KEY)
|