Spaces:
Running
Running
unknown commited on
Commit ·
750dc32
1
Parent(s): 63f4412
Switch to gemini-3.5-flash
Browse files- Predictor/views.py +1 -1
Predictor/views.py
CHANGED
|
@@ -24,7 +24,7 @@ from django.views.decorators.http import require_http_methods
|
|
| 24 |
from dotenv import load_dotenv
|
| 25 |
load_dotenv()
|
| 26 |
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
| 27 |
-
GEMINI_API_URL = "https://generativelanguage.googleapis.com/v1/models/gemini-
|
| 28 |
|
| 29 |
@csrf_exempt
|
| 30 |
@require_http_methods(["POST"])
|
|
|
|
| 24 |
from dotenv import load_dotenv
|
| 25 |
load_dotenv()
|
| 26 |
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
| 27 |
+
GEMINI_API_URL = "https://generativelanguage.googleapis.com/v1/models/gemini-3.5-flash:generateContent"
|
| 28 |
|
| 29 |
@csrf_exempt
|
| 30 |
@require_http_methods(["POST"])
|