Spaces:
Runtime error
Runtime error
Commit
·
af30ad7
1
Parent(s):
c733205
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
|