Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import time
|
|
| 6 |
import requests
|
| 7 |
|
| 8 |
# Set up your API key
|
| 9 |
-
genai.configure(api_key=os.getenv("
|
| 10 |
|
| 11 |
# Helper to encode image
|
| 12 |
def encode_image(image_path):
|
|
|
|
| 6 |
import requests
|
| 7 |
|
| 8 |
# Set up your API key
|
| 9 |
+
genai.configure(api_key=os.getenv("GEMINI_API_KEY", "your-api-key-here"))
|
| 10 |
|
| 11 |
# Helper to encode image
|
| 12 |
def encode_image(image_path):
|