Update src/scripts/health_recommendations.py
Browse files
src/scripts/health_recommendations.py
CHANGED
@@ -6,7 +6,7 @@ import re
|
|
6 |
class HealthRecommendations:
|
7 |
def __init__(self):
|
8 |
# Configure Google GenAI
|
9 |
-
api_key = os.getenv(gemini_api) # Fetch from environment variable
|
10 |
genai.configure(api_key)
|
11 |
|
12 |
def get_recommendations(self, patient_data: Dict, prediction: Dict) -> Dict[str, List[str]]:
|
|
|
6 |
class HealthRecommendations:
|
7 |
def __init__(self):
|
8 |
# Configure Google GenAI
|
9 |
+
api_key = os.getenv("gemini_api") # Fetch from environment variable
|
10 |
genai.configure(api_key)
|
11 |
|
12 |
def get_recommendations(self, patient_data: Dict, prediction: Dict) -> Dict[str, List[str]]:
|