Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -44,6 +44,7 @@ from transformers import BertTokenizer, BertModel
|
|
| 44 |
import torch
|
| 45 |
import torch.nn.functional as F
|
| 46 |
from langchain.tools import Tool
|
|
|
|
| 47 |
import time
|
| 48 |
|
| 49 |
load_dotenv()
|
|
|
|
| 44 |
import torch
|
| 45 |
import torch.nn.functional as F
|
| 46 |
from langchain.tools import Tool
|
| 47 |
+
from langchain.agents import initialize_agent, AgentType
|
| 48 |
import time
|
| 49 |
|
| 50 |
load_dotenv()
|