Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -343,8 +343,9 @@ def initialize():
|
|
343 |
print(f"Total number of code_chunks: {len(code_chunks)}")
|
344 |
print(f"Total number of doc_chunks: {len(doc_chunks)}")
|
345 |
|
|
|
346 |
# vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
|
347 |
-
|
348 |
|
349 |
|
350 |
initialize()
|
|
|
343 |
print(f"Total number of code_chunks: {len(code_chunks)}")
|
344 |
print(f"Total number of doc_chunks: {len(doc_chunks)}")
|
345 |
|
346 |
+
vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
|
347 |
# vectorstore = setup_chroma(chunks, EMBEDDING_MODEL_NAME, PERSIST_DIRECTORY)
|
348 |
+
llm = setup_llm(LLM_MODEL_NAME, LLM_TEMPERATURE, GROQ_API_KEY)
|
349 |
|
350 |
|
351 |
initialize()
|