Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ API_KEY = "AIzaSyAm0RSpUKY38494Fug8SPIpdHLXE2d3cps" # Replace with your Gemini
|
|
| 8 |
MODEL_NAME = "gemini-2.0-flash" # Replace with your Gemini model name, e.g., "Gemini 2.0 flash"
|
| 9 |
|
| 10 |
# API URL for Gemini 2.0 Flash
|
| 11 |
-
API_URL = "https://
|
| 12 |
|
| 13 |
# Headers to pass the API Key
|
| 14 |
headers = {"Authorization": f"Bearer {API_KEY}"}
|
|
|
|
| 8 |
MODEL_NAME = "gemini-2.0-flash" # Replace with your Gemini model name, e.g., "Gemini 2.0 flash"
|
| 9 |
|
| 10 |
# API URL for Gemini 2.0 Flash
|
| 11 |
+
API_URL = "https://generativelanguage.googleapis.com" # Example URL; make sure to replace with actual endpoint if different
|
| 12 |
|
| 13 |
# Headers to pass the API Key
|
| 14 |
headers = {"Authorization": f"Bearer {API_KEY}"}
|