abokbot commited on
Commit
e7ded97
·
1 Parent(s): a3ee745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ st.header("Wikipedia Search Engine app")
10
  st_model_load = st.text('Loading wikipedia embedding...')
11
 
12
  @st.cache_resource
13
- def load_load_embedding():
14
  print("Loading embedding...")
15
  hf_hub_download(repo_id="abokbot/wikipedia-embedding", filename="simple_wikipedia_embedding.pt")
16
  wikipedia_embedding = torch.load("wikipedia-embedding/simple_wikipedia_embedding.pt")
 
10
  st_model_load = st.text('Loading wikipedia embedding...')
11
 
12
  @st.cache_resource
13
+ def load_embedding():
14
  print("Loading embedding...")
15
  hf_hub_download(repo_id="abokbot/wikipedia-embedding", filename="simple_wikipedia_embedding.pt")
16
  wikipedia_embedding = torch.load("wikipedia-embedding/simple_wikipedia_embedding.pt")