tcy6 commited on
Commit
2e96b6b
·
1 Parent(s): 2120b3a

Update app.py

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