Update app.py
Browse files
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('
|
43 |
-
embeddings = load_embeddings('
|
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")
|