ashkanhh commited on
Commit
bba8ac8
·
verified ·
1 Parent(s): 46f3d4f

Update app.py

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