update threshold error
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks() as demo:
|
|
117 |
|
118 |
embeddings, _ = get_hf_embeddings(hf_api_key, df)
|
119 |
|
120 |
-
results = recommend_papers(pinecone_api_key, index_name, namespace_name, embeddings, df, threshold)
|
121 |
|
122 |
return results
|
123 |
|
|
|
117 |
|
118 |
embeddings, _ = get_hf_embeddings(hf_api_key, df)
|
119 |
|
120 |
+
results = recommend_papers(pinecone_api_key, index_name, namespace_name, embeddings, df, threshold * 3)
|
121 |
|
122 |
return results
|
123 |
|