Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -223,6 +223,7 @@ def get_festivals_today(date: str = None) -> str:
|
|
223 |
|
224 |
final_answer = FinalAnswerTool()
|
225 |
|
|
|
226 |
# 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:
|
227 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
228 |
|
|
|
223 |
|
224 |
final_answer = FinalAnswerTool()
|
225 |
|
226 |
+
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
227 |
# 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:
|
228 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
229 |
|