Spaces:
Sleeping
Sleeping
Update llm.py
Browse files
llm.py
CHANGED
|
@@ -61,7 +61,7 @@ def analyze_detections(class_counts: Dict[str, int], sample_type: str = "Blood s
|
|
| 61 |
"""
|
| 62 |
try:
|
| 63 |
# Configure the API key
|
| 64 |
-
genai.configure(api_key=GEMINI_API_KEY)
|
| 65 |
#print("Gemini configured with proxy successfully.")
|
| 66 |
|
| 67 |
# Initialize the Gemini model
|
|
|
|
| 61 |
"""
|
| 62 |
try:
|
| 63 |
# Configure the API key
|
| 64 |
+
genai.configure(api_key=GEMINI_API_KEY,transport='rest')
|
| 65 |
#print("Gemini configured with proxy successfully.")
|
| 66 |
|
| 67 |
# Initialize the Gemini model
|