Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration
|
|
16 |
#Sri LaxmiGithub Link: https://github.com/SriLaxmi1993/Document-Genie-using-RAG-Framwork
|
17 |
#Sri Laxmi Youtube:https://www.youtube.com/watch?v=SkY2u4UUr6M&t=112s
|
18 |
###############
|
19 |
-
os.system("pip install -r requirements.txt")
|
20 |
#Model loading
|
21 |
tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq")
|
22 |
retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True)
|
|
|
16 |
#Sri LaxmiGithub Link: https://github.com/SriLaxmi1993/Document-Genie-using-RAG-Framwork
|
17 |
#Sri Laxmi Youtube:https://www.youtube.com/watch?v=SkY2u4UUr6M&t=112s
|
18 |
###############
|
19 |
+
#os.system("pip install -r requirements.txt")
|
20 |
#Model loading
|
21 |
tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq")
|
22 |
retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True)
|