Spaces:
Sleeping
Sleeping
Update app.py
Browse files++replaced Anthropic with Google
app.py
CHANGED
|
@@ -84,13 +84,13 @@ model_id='deepseek-ai/DeepSeek-R1', #'Qwen/Qwen2.5-Coder-32B-Instruct',# it is p
|
|
| 84 |
custom_role_conversions=None,
|
| 85 |
)
|
| 86 |
"""
|
| 87 |
-
|
| 88 |
|
| 89 |
model = LiteLLMModel(
|
| 90 |
max_tokens=100,
|
| 91 |
temperature=0.5,
|
| 92 |
-
model_id='
|
| 93 |
-
api_key =
|
| 94 |
custom_role_conversions=None,
|
| 95 |
)
|
| 96 |
|
|
|
|
| 84 |
custom_role_conversions=None,
|
| 85 |
)
|
| 86 |
"""
|
| 87 |
+
google_api_key= os.getenv("GOOGLE_API_KEY")
|
| 88 |
|
| 89 |
model = LiteLLMModel(
|
| 90 |
max_tokens=100,
|
| 91 |
temperature=0.5,
|
| 92 |
+
model_id='gemini/gemini-1.5-flash', #'Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 93 |
+
api_key = google_api_key,
|
| 94 |
custom_role_conversions=None,
|
| 95 |
)
|
| 96 |
|