Spaces:
Running
Running
EtienneB
commited on
Commit
·
2d991f8
1
Parent(s):
6961e06
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
| 28 |
class BasicAgent:
|
| 29 |
def __init__(self):
|
| 30 |
print("BasicAgent initialized.")
|
| 31 |
-
self.llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
| 32 |
self.chat = ChatHuggingFace(llm=self.llm, verbose=True)
|
| 33 |
self.tools = [
|
| 34 |
multiply,
|
|
|
|
| 28 |
class BasicAgent:
|
| 29 |
def __init__(self):
|
| 30 |
print("BasicAgent initialized.")
|
| 31 |
+
self.llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct", huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,)
|
| 32 |
self.chat = ChatHuggingFace(llm=self.llm, verbose=True)
|
| 33 |
self.tools = [
|
| 34 |
multiply,
|