Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,10 @@ from langchain_core.runnables import RunnablePassthrough
|
|
8 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
9 |
import bs4
|
10 |
import torch
|
|
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
lc_api = LangChainAPI(api_key=LANGCHAIN_API_KEY)
|
15 |
-
|
16 |
|
17 |
GROQ_API_KEY = GROQ_API_KEY
|
18 |
from langchain_groq import ChatGroq
|
|
|
8 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
9 |
import bs4
|
10 |
import torch
|
11 |
+
from langchain import Client
|
12 |
|
13 |
+
# Initialize LangChain client (hypothetical example)
|
14 |
+
lc_client = Client(api_key=LANGCHAIN_API_KEY)
|
|
|
|
|
15 |
|
16 |
GROQ_API_KEY = GROQ_API_KEY
|
17 |
from langchain_groq import ChatGroq
|