Spaces:
Sleeping
Sleeping
thomas-yanxin
commited on
Commit
•
cce8e3b
1
Parent(s):
af30ad7
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import gradio as gr
|
|
4 |
import nltk
|
5 |
import sentence_transformers
|
6 |
import torch
|
7 |
-
from
|
8 |
-
from
|
9 |
from langchain.chains import RetrievalQA
|
10 |
from langchain.document_loaders import UnstructuredFileLoader
|
11 |
from langchain.embeddings import JinaEmbeddings
|
|
|
4 |
import nltk
|
5 |
import sentence_transformers
|
6 |
import torch
|
7 |
+
from duckduckgo_search import ddg
|
8 |
+
from duckduckgo_search.utils import SESSION
|
9 |
from langchain.chains import RetrievalQA
|
10 |
from langchain.document_loaders import UnstructuredFileLoader
|
11 |
from langchain.embeddings import JinaEmbeddings
|