HarryLee commited on
Commit
224170b
·
1 Parent(s): 07fc416

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -43,7 +43,6 @@ st.sidebar.success("Load Successfully!")
43
 
44
  if not torch.cuda.is_available():
45
  print("Warning: No GPU found. Please add GPU to your notebook")
46
- torch.load(path, map_location='cpu')
47
 
48
  #We use the Bi-Encoder to encode all passages, so that we can use it with sematic search
49
  bi_encoder = SentenceTransformer(option1)
 
43
 
44
  if not torch.cuda.is_available():
45
  print("Warning: No GPU found. Please add GPU to your notebook")
 
46
 
47
  #We use the Bi-Encoder to encode all passages, so that we can use it with sematic search
48
  bi_encoder = SentenceTransformer(option1)