Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -204,8 +204,6 @@ def initialize():
|
|
| 204 |
|
| 205 |
download_gitlab_repo()
|
| 206 |
all_texts, file_references = process_directory(REPOSITORY_DIRECTORY)
|
| 207 |
-
for text in all_texts:
|
| 208 |
-
print(text)
|
| 209 |
chunks = split_into_chunks(all_texts, file_references, CHUNK_SIZE, CHUNK_OVERLAP)
|
| 210 |
vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
|
| 211 |
llm = setup_llm(LLM_MODEL_NAME, LLM_TEMPERATURE, GROQ_API_KEY)
|
|
|
|
| 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)
|