vovarbv commited on
Commit
3b3ac4f
·
verified ·
1 Parent(s): 411b7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -43,15 +43,13 @@ final_answer = FinalAnswerTool()
43
  # 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:
44
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
45
 
46
- # model = HfApiModel(
47
- # max_tokens=2096,
48
- # temperature=0.5,
49
- # # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
50
- # model_id = "meta-llama/Llama-3.3-70B-Instruct",
51
- # custom_role_conversions=None,
52
- # )
53
-
54
- model = HfApiModel()
55
 
56
  # Import tool from Hub
57
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
43
  # 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:
44
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
45
 
46
+ model = HfApiModel(
47
+ max_tokens=2096,
48
+ temperature=0.5,
49
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
50
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
51
+ custom_role_conversions=None,
52
+ )
 
 
53
 
54
  # Import tool from Hub
55
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)