shashank970613 commited on
Commit
056d2a5
·
verified ·
1 Parent(s): 59afb81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def get_file_content_tool(task_id: str) -> str:
23
  return f"Failed to download file for task {task_id}"
24
 
25
  # 2. Initialize model and agent
26
- model = HfApiModel(
27
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
28
  token=os.getenv("HF_TOKEN")
29
  )
 
23
  return f"Failed to download file for task {task_id}"
24
 
25
  # 2. Initialize model and agent
26
+ model = InferenceClientModel(
27
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
28
  token=os.getenv("HF_TOKEN")
29
  )