Spaces:
Running
Running
acecalisto3
commited on
Commit
•
609e2ec
1
Parent(s):
92ac945
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,9 @@ import openai
|
|
9 |
import sys
|
10 |
import torch
|
11 |
|
|
|
|
|
|
|
12 |
# Load pre-trained RAG retriever
|
13 |
rag_retriever = RagRetriever.from_pretrained("facebook/rag-base")
|
14 |
|
|
|
9 |
import sys
|
10 |
import torch
|
11 |
|
12 |
+
# Set the auth token
|
13 |
+
st.set_page_config(hf_token="YOUR_AUTH_TOKEN")
|
14 |
+
|
15 |
# Load pre-trained RAG retriever
|
16 |
rag_retriever = RagRetriever.from_pretrained("facebook/rag-base")
|
17 |
|