WingNeville commited on
Commit
5536a04
·
verified ·
1 Parent(s): 2b6cd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,12 +8,11 @@ api_key = os.getenv('WingTokenAll')
8
  # Log in using the API key
9
  login(api_key)
10
 
11
- # Initialize the model without the use_auth_token argument
12
  model = InferenceClientModel(
13
  model='Qwen/Qwen2.5-Coder-32B-Instruct',
14
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
 
15
  )
16
-
17
  # Initialize the CodeAgent
18
  agent = CodeAgent(
19
  model=model,
 
8
  # Log in using the API key
9
  login(api_key)
10
 
 
11
  model = InferenceClientModel(
12
  model='Qwen/Qwen2.5-Coder-32B-Instruct',
13
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
14
+ provider='auto' # or specify a valid provider from the list
15
  )
 
16
  # Initialize the CodeAgent
17
  agent = CodeAgent(
18
  model=model,