ArslanFOX commited on
Commit
4af7a99
·
verified ·
1 Parent(s): ee7ca11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -40,9 +40,9 @@ final_answer = FinalAnswerTool()
40
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
41
 
42
  model = HfApiModel(
43
- max_tokens=500,
44
- temperature=0.5,
45
- model_id='mistralai/Mixtral-8x7B-Instruct-v0.1',
46
  custom_role_conversions=None,
47
  )
48
 
@@ -65,4 +65,5 @@ agent = CodeAgent(
65
  prompt_templates=prompt_templates
66
  )
67
 
 
68
  GradioUI(agent).launch()
 
40
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
41
 
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
 
 
65
  prompt_templates=prompt_templates
66
  )
67
 
68
+
69
  GradioUI(agent).launch()