Spaces:
Sleeping
Sleeping
Update app.py
Browse filesrevert tools init
83 unmodified lines848586878889909113 unmodified lines10510610710810911011183 unmodified linesfinal_answer = FinalAnswerTool()company_news_sentiment=company_news_sentiment()current_time_zone = get_current_time_in_timezone()# 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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'13 unmodified linesagent = CodeAgent(model=model,tools=[final_answer,company_news_sentiment,current_time_zone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,83 unmodified lines8485868788899013 unmodified lines10410510610710810911083 unmodified linesfinal_answer = FinalAnswerTool()# 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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'13 unmodified linesagent = CodeAgent(model=model,tools=[company_news_sentiment,current_time_zone,final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-3