Spaces:
Sleeping
Sleeping
Update app.py
Browse files1234567891036 unmodified lines474849434445465051525354555657import osimport spaces
@spaces.GPUdef _register_zerogpu(): return None from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,toolimport datetimeimport requests36 unmodified lines# 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, max_tokens=2096, temperature=0.5, model_id="Qwen/Qwen2.5-Coder-32B-Instruct", token=os.getenv("HF_TOKEN"), custom_role_conversions=None,)
app.py+12-4