Ludovicollin commited on
Commit
aa6ca59
·
1 Parent(s): a7da315

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -83,6 +83,7 @@ def to_cache(file):
83
  @cl.cache
84
  def retriever_to_cache():
85
  index_name = os.environ['PINECONE_INDEX_NAME']
 
86
  embeddings = HuggingFaceEmbeddings()
87
  time.sleep(5)
88
  pinecone.init(
 
83
  @cl.cache
84
  def retriever_to_cache():
85
  index_name = os.environ['PINECONE_INDEX_NAME']
86
+ time.sleep(5)
87
  embeddings = HuggingFaceEmbeddings()
88
  time.sleep(5)
89
  pinecone.init(