Spaces:
Running
Running
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ if "workspace_projects" not in st.session_state:
|
|
31 |
st.session_state.workspace_projects = {}
|
32 |
|
33 |
# Load pre-trained RAG retriever
|
34 |
-
rag_retriever = pipeline("text", model="facebook/rag-token-base")
|
35 |
|
36 |
# Load pre-trained chat model
|
37 |
chat_model = AutoModelForSeq2SeqLM.from_pretrained("microsoft/DialoGPT-medium")
|
|
|
31 |
st.session_state.workspace_projects = {}
|
32 |
|
33 |
# Load pre-trained RAG retriever
|
34 |
+
rag_retriever = pipeline("text-generation", model="facebook/rag-token-base")
|
35 |
|
36 |
# Load pre-trained chat model
|
37 |
chat_model = AutoModelForSeq2SeqLM.from_pretrained("microsoft/DialoGPT-medium")
|