Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,8 +21,6 @@ from langchain.tools.retriever import create_retriever_tool
|
|
| 21 |
from langchain.agents import AgentExecutor,create_react_agent
|
| 22 |
from getpass import getpass
|
| 23 |
import os
|
| 24 |
-
HUGGINGFACEHUB_API_TOKEN = getpass()
|
| 25 |
-
os.environ['HUGGINGFACEHUB_API_TOKEN']=HUGGINGFACEHUB_API_TOKEN
|
| 26 |
os.environ['TAVILY_API_KEY'] = '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'
|
| 27 |
@tool
|
| 28 |
def tqyb(query: str) -> str:
|
|
|
|
| 21 |
from langchain.agents import AgentExecutor,create_react_agent
|
| 22 |
from getpass import getpass
|
| 23 |
import os
|
|
|
|
|
|
|
| 24 |
os.environ['TAVILY_API_KEY'] = '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'
|
| 25 |
@tool
|
| 26 |
def tqyb(query: str) -> str:
|