Weedoo commited on
Commit
45c455c
1 Parent(s): cf0645c

update threshold error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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