Spaces:
Sleeping
Sleeping
Update app.py
Browse files123473 unmodified lines78798081828384858687from smolagents import CodeAgent,DuckDuckGoSearchTool, LiteLLMModel,load_tool,toolimport datetimeimport requestsimport pytz73 unmodified lines# 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'model = LiteLLMModel(max_tokens=2096,temperature=0.5,model_id="ollama_chat/qwen2:7b", # it is possible that this model may be overloadedcustom_role_conversions=None,)123473 unmodified lines78798081828384858687from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,toolimport datetimeimport requestsimport pytz73 unmodified lines# 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'model = HfApiModel(max_tokens=2096,temperature=0.5,model_id="Qwen/Qwen2.5-Coder-32B-Instruct", # it is possible that this model may be overloadedcustom_role_conversions=None,)
app.py+3-3