grevy commited on
Commit
92279a2
·
1 Parent(s): 345386d

Revert to Qwen2.5-72B (text) + push search tool and deps

Browse files
Files changed (4) hide show
  1. .gitignore +4 -0
  2. app.py +1 -1
  3. requirements.txt +2 -0
  4. tools.py +3 -0
.gitignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ __pycache__/
2
+ *.pyc
3
+ .venv/
4
+ .python-version
app.py CHANGED
@@ -37,7 +37,7 @@ class BasicAgent:
37
 
38
  # Requires HF_TOKEN in the environment (set as a Space secret on HF).
39
  llm = HuggingFaceEndpoint(
40
- repo_id="Qwen/Qwen2.5-VL-72B-Instruct",
41
  max_new_tokens=2048,
42
  temperature=0.1,
43
  huggingfacehub_api_token=os.getenv("HF_TOKEN"),
 
37
 
38
  # Requires HF_TOKEN in the environment (set as a Space secret on HF).
39
  llm = HuggingFaceEndpoint(
40
+ repo_id="Qwen/Qwen2.5-72B-Instruct",
41
  max_new_tokens=2048,
42
  temperature=0.1,
43
  huggingfacehub_api_token=os.getenv("HF_TOKEN"),
requirements.txt CHANGED
@@ -3,5 +3,7 @@ requests
3
  pandas
4
  langgraph
5
  langchain-core
 
6
  langchain-huggingface
7
  huggingface_hub
 
 
3
  pandas
4
  langgraph
5
  langchain-core
6
+ langchain-community
7
  langchain-huggingface
8
  huggingface_hub
9
+ ddgs
tools.py CHANGED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from langchain_community.tools import DuckDuckGoSearchRun
2
+
3
+ search_tool = DuckDuckGoSearchRun()