Spaces:
Sleeping
Sleeping
EtienneB
commited on
Commit
·
021daa6
1
Parent(s):
c22db0f
fixes
Browse files- app.py +1 -1
- requirements.txt +8 -5
app.py
CHANGED
@@ -46,7 +46,7 @@ class BasicAgent:
|
|
46 |
roman_calculator_converter,
|
47 |
get_current_time_in_timezone,
|
48 |
]
|
49 |
-
self.chat_with_tools = self.chat.bind_tools(tools)
|
50 |
print(f"Total tools available: {len(self.tools)}")
|
51 |
|
52 |
|
|
|
46 |
roman_calculator_converter,
|
47 |
get_current_time_in_timezone,
|
48 |
]
|
49 |
+
self.chat_with_tools = self.chat.bind_tools(self.tools)
|
50 |
print(f"Total tools available: {len(self.tools)}")
|
51 |
|
52 |
|
requirements.txt
CHANGED
@@ -1,14 +1,17 @@
|
|
1 |
-
|
|
|
2 |
requests
|
3 |
|
4 |
-
# LangChain
|
5 |
langchain
|
6 |
langchain-core
|
7 |
langchain-community
|
8 |
langgraph
|
|
|
|
|
9 |
huggingface_hub
|
|
|
|
|
10 |
|
11 |
-
#
|
12 |
-
# inspect
|
13 |
python-dotenv
|
14 |
-
gradio[oauth]
|
|
|
1 |
+
# UI and OAuth
|
2 |
+
gradio[oauth]
|
3 |
requests
|
4 |
|
5 |
+
# LangChain and ecosystem
|
6 |
langchain
|
7 |
langchain-core
|
8 |
langchain-community
|
9 |
langgraph
|
10 |
+
|
11 |
+
# Hugging Face integration
|
12 |
huggingface_hub
|
13 |
+
transformers
|
14 |
+
accelerate # Needed for many transformer-based models
|
15 |
|
16 |
+
# Environment config
|
|
|
17 |
python-dotenv
|
|