acecalisto3 commited on
Commit
8bcaecb
·
verified ·
1 Parent(s): ff4a42c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")