shrut123 commited on
Commit
cb1057f
1 Parent(s): be3515a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from pinecone import Pinecone
4
  from sentence_transformers import SentenceTransformer
5
 
6
  # Title of the Streamlit App
7
- st.title("Pinecone Query Search on 'pubmed-splade' Index")
8
 
9
  # Initialize Pinecone globally
10
  index = None
@@ -25,7 +25,7 @@ def connect_to_index(pc):
25
  index_name = 'pubmed-splade' # Hardcoded index name
26
  # Connect to the 'pubmed-splade' index
27
  if index_name in pc.list_indexes().names():
28
- st.info(f"Successfully connected to index '{index_name}'")
29
  index = pc.Index(index_name)
30
  return index
31
  else:
 
4
  from sentence_transformers import SentenceTransformer
5
 
6
  # Title of the Streamlit App
7
+ st.title("Medical Hybrid Search")
8
 
9
  # Initialize Pinecone globally
10
  index = None
 
25
  index_name = 'pubmed-splade' # Hardcoded index name
26
  # Connect to the 'pubmed-splade' index
27
  if index_name in pc.list_indexes().names():
28
+ #st.info(f"Successfully connected to index '{index_name}'")
29
  index = pc.Index(index_name)
30
  return index
31
  else: