bupa1018 commited on
Commit
3ae4ab1
·
1 Parent(s): 3d3f9d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -193,10 +193,10 @@ def initialize():
193
  upload_gitRepository()
194
  all_texts, file_references = process_directory(REPOSITORY_DIRECTORY)
195
 
196
- for i, text in enumerate(all_texts):
197
- print(f"Content of file {i+1}:\n")
198
- print(text)
199
- print("\n" + "-"*40 + "\n")
200
 
201
  chunks = split_into_chunks(all_texts, file_references, CHUNK_SIZE, CHUNK_OVERLAP)
202
  vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
 
193
  upload_gitRepository()
194
  all_texts, file_references = process_directory(REPOSITORY_DIRECTORY)
195
 
196
+ # for i, text in enumerate(all_texts):
197
+ # print(f"Content of file {i+1}:\n")
198
+ # print(text)
199
+ # print("\n" + "-"*40 + "\n")
200
 
201
  chunks = split_into_chunks(all_texts, file_references, CHUNK_SIZE, CHUNK_OVERLAP)
202
  vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)