Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -202,7 +202,9 @@ def downvote(knowledge_base, query):
|
|
202 |
|
203 |
|
204 |
|
205 |
-
device = 'cuda'
|
|
|
|
|
206 |
|
207 |
print("emb model load begin...")
|
208 |
model_path = 'openbmb/VisRAG-Ret' # replace with your local model path
|
|
|
202 |
|
203 |
|
204 |
|
205 |
+
device = 'cuda'
|
206 |
+
|
207 |
+
os.system(f'rm -rf /data-nvme/zerogpu-offload/*')
|
208 |
|
209 |
print("emb model load begin...")
|
210 |
model_path = 'openbmb/VisRAG-Ret' # replace with your local model path
|