Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- ai_engine.py +1 -1
ai_engine.py
CHANGED
|
@@ -7,7 +7,7 @@ genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
|
| 7 |
|
| 8 |
# Initialize the model (using the standard gemini-pro which is universally supported)
|
| 9 |
model = genai.GenerativeModel(
|
| 10 |
-
model_name='gemini-
|
| 11 |
generation_config={"response_mime_type": "application/json"} # Forces perfect JSON!
|
| 12 |
)
|
| 13 |
|
|
|
|
| 7 |
|
| 8 |
# Initialize the model (using the standard gemini-pro which is universally supported)
|
| 9 |
model = genai.GenerativeModel(
|
| 10 |
+
model_name='gemini-pro',
|
| 11 |
generation_config={"response_mime_type": "application/json"} # Forces perfect JSON!
|
| 12 |
)
|
| 13 |
|