Update app/logic/calc_c.py
Browse files- app/logic/calc_c.py +3 -1
app/logic/calc_c.py
CHANGED
|
@@ -12,7 +12,9 @@ import json
|
|
| 12 |
import os
|
| 13 |
import pandas as pd
|
| 14 |
|
| 15 |
-
genai.configure(
|
|
|
|
|
|
|
| 16 |
model = genai.GenerativeModel("gemini-2.5-flash")
|
| 17 |
|
| 18 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
| 12 |
import os
|
| 13 |
import pandas as pd
|
| 14 |
|
| 15 |
+
genai.configure(
|
| 16 |
+
api_key=os.environ.get("GOOGLE_API_KEY")
|
| 17 |
+
)
|
| 18 |
model = genai.GenerativeModel("gemini-2.5-flash")
|
| 19 |
|
| 20 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|