anzorq commited on
Commit
529f04c
1 Parent(s): bed2c3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,8 +39,8 @@ def perform_similarity_search(query_embeddings, embeddings, model_ids, descripti
39
 
40
  model = SentenceTransformer('all-MiniLM-L6-v2')
41
 
42
- model_ids, descriptions = preprocess_model_descriptions('model_descriptions.tsv')
43
- embeddings = load_embeddings('embeddings_model_descriptions.pt')
44
 
45
  with gr.Blocks() as demo:
46
  input = gr.Textbox(label="Enter your query")
 
39
 
40
  model = SentenceTransformer('all-MiniLM-L6-v2')
41
 
42
+ model_ids, descriptions = preprocess_model_descriptions('hf_spaces_descriptions.tsv.tsv')
43
+ embeddings = load_embeddings('embeddings_hf_spaces_descriptions.pt')
44
 
45
  with gr.Blocks() as demo:
46
  input = gr.Textbox(label="Enter your query")