ziyingsk commited on
Commit
9fa317e
·
verified ·
1 Parent(s): 68c232e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer
15
  # Set up environment, Pinecone is a database
16
  cache_dir = None # Directory for cache
17
  Huggingface_token = st.secrets["HUGGINGFACEHUB_API_TOKEN"] # Huggingface API key
18
- pc = Pinecone(api_key=st.secrets["PINECONE_API_KEY"] # Database API key
19
  index = pc.Index(st.secrets["Index_Name"]) # Database index name
20
 
21
  # Initialize embedding model (LLM will be saved to cache_dir if assigned)
 
15
  # Set up environment, Pinecone is a database
16
  cache_dir = None # Directory for cache
17
  Huggingface_token = st.secrets["HUGGINGFACEHUB_API_TOKEN"] # Huggingface API key
18
+ pc = Pinecone(api_key=st.secrets["PINECONE_API_KEY"]) # Database API key
19
  index = pc.Index(st.secrets["Index_Name"]) # Database index name
20
 
21
  # Initialize embedding model (LLM will be saved to cache_dir if assigned)