bupa1018 commited on
Commit
50e8d8f
·
1 Parent(s): 5d32d16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -203,10 +203,10 @@ def initialize():
203
  global vectorstore, chunks, llm
204
 
205
  download_gitlab_repo()
206
- # all_texts, file_references = process_directory(REPOSITORY_DIRECTORY)
207
- # chunks = split_into_chunks(all_texts, file_references, CHUNK_SIZE, CHUNK_OVERLAP)
208
- # vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
209
- # llm = setup_llm(LLM_MODEL_NAME, LLM_TEMPERATURE, GROQ_API_KEY)
210
 
211
  initialize()
212
 
 
203
  global vectorstore, chunks, llm
204
 
205
  download_gitlab_repo()
206
+ all_texts, file_references = process_directory(REPOSITORY_DIRECTORY)
207
+ chunks = split_into_chunks(all_texts, file_references, CHUNK_SIZE, CHUNK_OVERLAP)
208
+ vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
209
+ llm = setup_llm(LLM_MODEL_NAME, LLM_TEMPERATURE, GROQ_API_KEY)
210
 
211
  initialize()
212