Shivangsinha commited on
Commit
89fcb54
·
verified ·
1 Parent(s): 637cb55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,11 +29,11 @@ def get_current_date_time() -> str:
29
  class BasicAgent:
30
  def __init__(self):
31
  print("BasicAgent initialized.")
32
- # HF_TOKEN is automatically available in HF Spaces
33
  hf_token = os.getenv("HF_TOKEN")
 
 
34
  model = InferenceClientModel(
35
- model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
36
- provider="hf-inference",
37
  token=hf_token,
38
  )
39
  tools = [
 
29
  class BasicAgent:
30
  def __init__(self):
31
  print("BasicAgent initialized.")
 
32
  hf_token = os.getenv("HF_TOKEN")
33
+ # Use InferenceClientModel without specifying provider
34
+ # so HF router picks the best available provider automatically
35
  model = InferenceClientModel(
36
+ model_id="meta-llama/Llama-3.3-70B-Instruct",
 
37
  token=hf_token,
38
  )
39
  tools = [