Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,6 +59,8 @@ def image_generator(description: str)->Image.Image :
|
|
| 59 |
return f"Error generating image: {str(e)}"
|
| 60 |
|
| 61 |
final_answer = FinalAnswerTool()
|
|
|
|
|
|
|
| 62 |
|
| 63 |
# 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:
|
| 64 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
|
|
|
| 59 |
return f"Error generating image: {str(e)}"
|
| 60 |
|
| 61 |
final_answer = FinalAnswerTool()
|
| 62 |
+
web_search = DuckDuckGoSearchTool()
|
| 63 |
+
visit_webpage = VisitWebpageTool()
|
| 64 |
|
| 65 |
# 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:
|
| 66 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|