Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import openai
|
2 |
import gradio as gr
|
3 |
-
from langchain.
|
4 |
from langchain.chains.question_answering import load_qa_cha
|
5 |
from langchain.llms import OpenAI
|
6 |
from langchain.document_loaders import TextLoader
|
|
|
1 |
import openai
|
2 |
import gradio as gr
|
3 |
+
from langchain.retrievers import RetrievalQA
|
4 |
from langchain.chains.question_answering import load_qa_cha
|
5 |
from langchain.llms import OpenAI
|
6 |
from langchain.document_loaders import TextLoader
|