Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ final_answer = FinalAnswerTool()
|
|
40 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
41 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
42 |
|
43 |
-
model = LiteLLMModel(model_id="gemini/gemini-1.5-flash", api_key=os.
|
44 |
|
45 |
# Import tool from Hub
|
46 |
#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
40 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
41 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
42 |
|
43 |
+
model = LiteLLMModel(model_id="gemini/gemini-1.5-flash", api_key=os.getenv('GOOGLE_API_KEY'))
|
44 |
|
45 |
# Import tool from Hub
|
46 |
#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|