Spaces:
Paused
Paused
inistializing ZeroGPU
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ books_db_client_retriever = RetrievalQA.from_chain_type(
|
|
85 |
)
|
86 |
|
87 |
# Function to retrieve answer using the RAG system
|
|
|
88 |
def test_rag(query):
|
89 |
books_retriever = books_db_client_retriever.run(query)
|
90 |
|
|
|
85 |
)
|
86 |
|
87 |
# Function to retrieve answer using the RAG system
|
88 |
+
@spaces.GPU()
|
89 |
def test_rag(query):
|
90 |
books_retriever = books_db_client_retriever.run(query)
|
91 |
|