rightspeed commited on
Commit
4699f55
·
verified ·
1 Parent(s): 010a7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,7 +42,8 @@ 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
 
@@ -66,5 +67,5 @@ agent = CodeAgent(
66
  )
67
 
68
  print("hello")
69
- GradioUI(agent).launch(share=True)
70
  print("done")
 
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
45
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
46
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
47
  custom_role_conversions=None,
48
  )
49
 
 
67
  )
68
 
69
  print("hello")
70
+ GradioUI(agent).launch()
71
  print("done")