ashishabraham22 commited on
Commit
9d967a4
·
verified ·
1 Parent(s): 115a610

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -21,7 +21,12 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
21
  class BasicAgent:
22
  def __init__(self):
23
  self.prompt_templates = {}
24
- self.model = InferenceClientModel(model="qwen/qwen3-32b",provider="groq", api_key="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")
 
 
 
 
 
25
  self.tools = [
26
  DuckDuckGoSearchTool(),
27
  WikiTitleFinder(),
 
21
  class BasicAgent:
22
  def __init__(self):
23
  self.prompt_templates = {}
24
+ self.model = InferenceClientModel(
25
+ model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
26
+ provider="nebius",
27
+ token=os.getenv("HF_API"),
28
+ max_tokens=5000,
29
+ )
30
  self.tools = [
31
  DuckDuckGoSearchTool(),
32
  WikiTitleFinder(),