DeepSoft-Tech commited on
Commit
4e50689
·
verified ·
1 Parent(s): 5b1326d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ if query:
62
  # Upsert the embeddings for the query into the Pinecone index
63
  query_embeddings = model.encode(query).tolist()
64
  # now query
65
- xc = index.query(vector=query_embeddings, top_k=5,, namespace="hotel-detail", include_metadata=True)
66
 
67
  # Display the search results
68
  st.write(f"Search results for '{query}':")
 
62
  # Upsert the embeddings for the query into the Pinecone index
63
  query_embeddings = model.encode(query).tolist()
64
  # now query
65
+ xc = index.query(vector=query_embeddings, top_k=5, namespace="hotel-detail", include_metadata=True)
66
 
67
  # Display the search results
68
  st.write(f"Search results for '{query}':")