tatianija commited on
Commit
7c4b015
·
verified ·
1 Parent(s): 291590a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -22,8 +22,7 @@ processing_status = {"is_processing": False, "progress": 0, "total": 0}
22
  class IntelligentAgent:
23
  def __init__(self, debug: bool = False, model_name: str = "meta-llama/Llama-3.1-8B-Instruct"):
24
  self.search = DuckDuckGoSearchTool()
25
- self.client = InferenceClient(model=model_name,
26
- api_key=os.environ["HF_TOKEN"])
27
  self.debug = debug
28
  if self.debug:
29
  print(f"IntelligentAgent initialized with model: {model_name}")
 
22
  class IntelligentAgent:
23
  def __init__(self, debug: bool = False, model_name: str = "meta-llama/Llama-3.1-8B-Instruct"):
24
  self.search = DuckDuckGoSearchTool()
25
+ self.client = InferenceClient(model=model_name)
 
26
  self.debug = debug
27
  if self.debug:
28
  print(f"IntelligentAgent initialized with model: {model_name}")